fix: auth magics

quick temporary fix
This commit is contained in:
Xmader 2020-11-18 13:29:34 -05:00
parent ee518dc8f3
commit 698cbecd11
No known key found for this signature in database
GPG key ID: A20B97FB9EB730E4

View file

@ -33,9 +33,9 @@ const magicHookConstr = (type: FileType) => {
}
const magics: Record<FileType, Promise<string>> = {
img: magicHookConstr('img'),
midi: magicHookConstr('midi'),
mp3: magicHookConstr('mp3'),
img: Promise.resolve('8c022bdef45341074ce876ae57a48f64b86cdcf5'),
midi: Promise.resolve('38fb9efaae51b0c83b5bb5791a698b48292129e7'),
mp3: Promise.resolve('63794e5461e4cfa046edfbdddfccc1ac16daffd2'),
}
const getApiUrl = (type: FileType, index: number): string => {