Skip to content

Commit

Permalink
Merge pull request #110 from laxidou/fix/name
Browse files Browse the repository at this point in the history
FIX: duration field name error
  • Loading branch information
blueeon authored Jun 21, 2024
2 parents f2804ad + 88b35c9 commit 77bc63f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/SunoApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ class SunoApi {
prompt: audio.metadata.prompt,
type: audio.metadata.type,
tags: audio.metadata.tags,
duration: audio.metadata.duration_formatted,
duration: audio.metadata.duration,
}));
}
}
Expand Down Expand Up @@ -367,7 +367,7 @@ class SunoApi {
prompt: audio.metadata.prompt,
type: audio.metadata.type,
tags: audio.metadata.tags,
duration: audio.metadata.duration_formatted,
duration: audio.metadata.duration,
error_message: audio.metadata.error_message,
}));
}
Expand Down

0 comments on commit 77bc63f

Please sign in to comment.