From 201a3aaa4951973eab7ef4b2c8d167f1bf25882a Mon Sep 17 00:00:00 2001 From: kieran Date: Mon, 27 Jan 2025 21:22:06 +0000 Subject: [PATCH] fix: method tag for media upload --- ui_src/src/upload/blossom.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui_src/src/upload/blossom.ts b/ui_src/src/upload/blossom.ts index 0611875..b74bea9 100644 --- a/ui_src/src/upload/blossom.ts +++ b/ui_src/src/upload/blossom.ts @@ -41,7 +41,7 @@ export class Blossom { ); const tags = [["x", bytesToString("hex", new Uint8Array(hash))]]; - const rsp = await this.#req("media", "PUT", "upload", file, tags); + const rsp = await this.#req("media", "PUT", "media", file, tags); if (rsp.ok) { return (await rsp.json()) as BlobDescriptor; } else {