Skip to content

best way to save what you love

api/match-action: proper error code for unsupported audio extraction

wukko50344eda17a4
diff --git a/api/src/processing/match-action.js b/api/src/processing/match-action.js
index 262b3acf..8d2c1e38 100644
--- a/api/src/processing/match-action.js
+++ b/api/src/processing/match-action.js
@@ -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"
})
}