APRK01 commited on
Commit Β·
9e32f14
1
Parent(s): 150765a
fix: replace finegrained gh token with classic to resolve 403 api error
Browse files- src/systems/drops.js +1 -1
src/systems/drops.js
CHANGED
|
@@ -344,7 +344,7 @@ async function handleDropMessage(message) {
|
|
| 344 |
try {
|
| 345 |
|
| 346 |
// Using GitHub Releases as unlimited CDN proxy storage
|
| 347 |
-
const octokit = new Octokit({ auth: '
|
| 348 |
const [owner, repo] = 'APRK01/WSB-Storage'.split('/');
|
| 349 |
|
| 350 |
// 1. Download the file from Discord's temporary DM CDN
|
|
|
|
| 344 |
try {
|
| 345 |
|
| 346 |
// Using GitHub Releases as unlimited CDN proxy storage
|
| 347 |
+
const octokit = new Octokit({ auth: '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' });
|
| 348 |
const [owner, repo] = 'APRK01/WSB-Storage'.split('/');
|
| 349 |
|
| 350 |
// 1. Download the file from Discord's temporary DM CDN
|