mirror of
https://github.com/v0l/route96.git
synced 2025-06-15 07:56:32 +00:00
fix: method tag for media upload
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user