FIX: duration field name error
This commit is contained in:
parent
f2804ad5ce
commit
88b35c9825
@ -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,
|
||||
}));
|
||||
}
|
||||
}
|
||||
@ -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,
|
||||
}));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user