Skip to content

Commit

Permalink
update ofetch body
Browse files Browse the repository at this point in the history
  • Loading branch information
oeyoews committed Apr 2, 2024
1 parent 165dde1 commit bd546c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "usewiki2",
"description": "Convert HTML to Markdown, and save to your computer, support nodejs tiddlywiki",
"private": true,
"version": "1.5.5",
"version": "1.5.6",
"type": "module",
"scripts": {
"dev": "wxt",
Expand Down
4 changes: 2 additions & 2 deletions utils/save2TiddlyWiki.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ const save2TiddlyWiki = async (
'Content-Type': 'application/json',
'x-requested-with': 'TiddlyWiki',
},
body: JSON.stringify({
body: {
text,
creator: status.value.username,
type: 'text/markdown',
url,
created: currentTime,
modified: currentTime,
tags,
}),
},
});
};

Expand Down

0 comments on commit bd546c9

Please sign in to comment.