Skip to content

Commit

Permalink
api/match-action: proper error code for unsupported audio extraction
Browse files Browse the repository at this point in the history
  • Loading branch information
wukko committed Nov 28, 2024
1 parent eee9bee commit 50344ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/processing/match-action.js
Original file line number Diff line number Diff line change
Expand Up @@ -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"
})
}

Expand Down

0 comments on commit 50344ed

Please sign in to comment.