diff --git a/src/routes/boost/post/+server.ts b/src/routes/boost/post/+server.ts index 3717dad1..cdd36105 100644 --- a/src/routes/boost/post/+server.ts +++ b/src/routes/boost/post/+server.ts @@ -51,7 +51,7 @@ export async function POST({ request }) { return axios .patch( `https://api.btcmap.org/v2/elements/${element}/tags`, - { 'boost:expires': `${expires.toISOString()}` }, + { tags: { 'boost:expires': `${expires.toISOString()}` } }, { headers } ) .then(function (response) {