APRK01 commited on
Commit
9e32f14
Β·
1 Parent(s): 150765a

fix: replace finegrained gh token with classic to resolve 403 api error

Browse files
Files changed (1) hide show
  1. 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: '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' });
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