User sign in

This commit is contained in:
2024-03-28 20:44:13 +08:00
parent 3a1cf006f4
commit 96526da432
33 changed files with 750 additions and 34 deletions

View File

@@ -43,7 +43,7 @@ async function deletePost() {
loading.value = true
const res = await request("interactive", url, {
method: "DELETE",
headers: { Authorization: `Bearer ${getAtk()}` }
headers: { Authorization: `Bearer ${await getAtk()}` }
})
if (res.status !== 200) {
error.value = await res.text()