Skip to content

Commit

Permalink
update boost patch to use new json format
Browse files Browse the repository at this point in the history
  • Loading branch information
secondl1ght committed Dec 8, 2023
1 parent 1cd900b commit 2d00370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/boost/post/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2d00370

Please sign in to comment.