Skip to content

Commit

Permalink
fix: update auth token suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterNjeim committed Apr 2, 2024
1 parent c02b254 commit 5332d55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const getApiUrl = (id: number, type: FileType, index: number): string => {
};

const getApiAuth = (id: number, type: FileType, index: number): string => {
const suffix = "11000";
const suffix = ")?)";
const code = `${id}${type}${index}${suffix}`;
return md5(code).slice(0, 4);
};
Expand Down

0 comments on commit 5332d55

Please sign in to comment.