aboutsummaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-03-12 08:55:40 +0100
committerlonkaars <l.leblansch@gmail.com>2021-03-12 08:55:40 +0100
commit599108b21979039117ffe1de1817e71644a20fb4 (patch)
tree3a123627478a5280aeaf65910cbbe6b767f2987f /pages
parentb34662346733ded378b31d8b1ba1e8b2953ec49a (diff)
cleaner endpoint names
Diffstat (limited to 'pages')
-rw-r--r--pages/user.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/user.tsx b/pages/user.tsx
index 1b6c2e3..1b0e170 100644
--- a/pages/user.tsx
+++ b/pages/user.tsx
@@ -161,7 +161,7 @@ export default function AccountPage() {
setEditingStatus(false)
axios.request({
method: "post",
- url: `/api/user/updateStatus`,
+ url: `/api/user/status`,
headers: {"content-type": "application/json"},
data: { "status": document.getElementById("status").innerText }
});