Skip to content

Commit

Permalink
fix: unused object
Browse files Browse the repository at this point in the history
  • Loading branch information
xesf committed Mar 29, 2024
1 parent 4490e91 commit f0ee589
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/services/hqr-files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export async function showOpenHQRFileDialog(): Promise<HQRInfo | null> {
const filename = file.name;
if (buffer) {
const hqr = HQR.fromArrayBuffer(buffer);
const metadata = await getMetadataForHQR(filename, hqr);
const metadata = await getMetadataForHQR(filename);
return { hqr, filename, metadata, fileHandle };
}
return null;
Expand Down
3 changes: 1 addition & 2 deletions src/services/metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ export interface Metadata {
const BASE_URL = 'https://raw.githubusercontent.com/LBALab/metadata/main/';

export async function getMetadataForHQR(
filename: string,
hqr: HQR
filename: string
): Promise<Metadata | undefined> {
if (filename.endsWith('.VOX')) {
filename = `VOX/XX${filename.substring(2)}`;
Expand Down

0 comments on commit f0ee589

Please sign in to comment.