From 50344eda17a435e4c0abab16a661eab84414d867 Mon Sep 17 00:00:00 2001 From: wukko Date: Thu, 28 Nov 2024 15:48:18 +0600 Subject: [PATCH] api/match-action: proper error code for unsupported audio extraction --- api/src/processing/match-action.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" }) }