1
0
mirror of https://github.com/LibreScore/dl-librescore synced 2025-01-22 01:50:52 +01:00

fix: update auth token suffix

This commit is contained in:
Peter Njeim 2024-03-26 20:55:29 -03:00 committed by GitHub
parent 8cbd7de289
commit 0a0abaa618
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -12,7 +12,7 @@ const getApiUrl = (id: number, type: FileType, index: number): string => {
};
const getApiAuth = (id: number, type: FileType, index: number): string => {
const suffix = "*6!";
const suffix = "57$";
const code = `${id}${type}${index}${suffix}`;
return md5(code).slice(0, 4);
};