Skip to content

Commit

Permalink
common
Browse files Browse the repository at this point in the history
  • Loading branch information
Uriopass committed Mar 5, 2024
1 parent fe711bb commit 0d2981a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion musidex-ts-common/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const API = {
return fetch(parseURL(localApiUrl) + "/api/ping").then((v) => v.ok).catch(() => false);
},

async metadataFromWSMsg(m: MessageEvent, oldMeta: MusidexMetadata): Promise<[MusidexMetadata, string]> {
async metadataFromWSMsg(m: any, oldMeta: MusidexMetadata): Promise<[MusidexMetadata, string]> {
let vv = new Uint8Array(m.data);
const s = Pako.inflateRaw(vv, {to: 'string'});
let v: RawMusidexMetadata = JSON.parse(s);
Expand Down

0 comments on commit 0d2981a

Please sign in to comment.