Minor bugfixes

This commit is contained in:
2021-01-27 01:52:18 +11:00
parent 8c754b4570
commit 6468b02647
4 changed files with 15 additions and 8 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ const Member = () => {
};
const logout = async () => {
await fetch('/api/accounts/logout')
await fetch('/api/accounts/logout', { method: 'POST' })
.catch(e => console.error(e))
;
};