From e332786fd0d804c71283d7fb15409ff34922caaa Mon Sep 17 00:00:00 2001 From: Cadence Ember Date: Thu, 13 Nov 2025 15:57:12 +1300 Subject: [PATCH] forgot an await --- src/matrix/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/api.js b/src/matrix/api.js index 6d135bd..69ef78d 100644 --- a/src/matrix/api.js +++ b/src/matrix/api.js @@ -396,7 +396,7 @@ async function getMedia(mxc, init = {}) { ...init }) if (res.status !== 200) { - throw mreq.makeMatrixServerError(res, init) + throw await mreq.makeMatrixServerError(res, init) } if (init.method !== "HEAD") { assert(res.body)