mirror of
https://github.com/imputnet/cobalt.git
synced 2025-12-13 19:55:20 +00:00
api/request/local-processing: don't return an empty audio object
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
& also throw errors whenever a response is invalid
This commit is contained in:
@@ -51,9 +51,9 @@ export type CobaltLocalProcessingResponse = {
|
||||
service: string,
|
||||
tunnel: string[],
|
||||
|
||||
output?: {
|
||||
type?: string, // mimetype
|
||||
filename?: string,
|
||||
output: {
|
||||
type: string, // mimetype
|
||||
filename: string,
|
||||
metadata?: {
|
||||
album?: string,
|
||||
copyright?: string,
|
||||
|
||||
Reference in New Issue
Block a user