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:
parent
8cbd7de289
commit
0a0abaa618
@ -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);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user