From 11388cb418bec582fd5ccaa00d8f5e51af78bdaf Mon Sep 17 00:00:00 2001 From: jj Date: Mon, 16 Dec 2024 16:21:38 +0000 Subject: [PATCH] api/stream: await all call types --- api/src/stream/stream.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/api/src/stream/stream.js b/api/src/stream/stream.js index a6d41200..6de52793 100644 --- a/api/src/stream/stream.js +++ b/api/src/stream/stream.js @@ -10,20 +10,20 @@ export default async function(res, streamInfo) { return await stream.proxy(streamInfo, res); case "internal": - return internalStream(streamInfo, res); + return await internalStream(streamInfo, res); case "merge": - return stream.merge(streamInfo, res); + return await stream.merge(streamInfo, res); case "remux": case "mute": - return stream.remux(streamInfo, res); + return await stream.remux(streamInfo, res); case "audio": - return stream.convertAudio(streamInfo, res); + return await stream.convertAudio(streamInfo, res); case "gif": - return stream.convertGif(streamInfo, res); + return await stream.convertGif(streamInfo, res); } closeResponse(res);