mirror of
https://github.com/wukko/cobalt.git
synced 2025-02-02 08:26:22 +01:00
api/match-action: proper error code for unsupported audio extraction
This commit is contained in:
parent
eee9beef91
commit
50344eda17
1 changed files with 1 additions and 1 deletions
|
@ -160,7 +160,7 @@ export default function({ r, host, audioFormat, isAudioOnly, isAudioMuted, disab
|
|||
case "audio":
|
||||
if (audioIgnore.includes(host) || (host === "reddit" && r.typeId === "redirect")) {
|
||||
return createResponse("error", {
|
||||
code: "error.api.fetch.empty"
|
||||
code: "error.api.service.audio_not_supported"
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue