fix: MIDI download

This commit is contained in:
Xmader 2021-01-27 11:09:06 -05:00
parent c571a49093
commit 4bd5d55676
No known key found for this signature in database
GPG key ID: A20B97FB9EB730E4

View file

@ -78,7 +78,7 @@ const getApiAuth = async (type: FileType, index: number): Promise<string> => {
// force to retrieve the MAGIC
switch (type) {
case 'midi': {
const el = document.querySelectorAll('.uPjTb > button')[3] as HTMLButtonElement
const el = document.querySelector('button[hasaccess]') as HTMLButtonElement
el.click()
break
}