From 599108b21979039117ffe1de1817e71644a20fb4 Mon Sep 17 00:00:00 2001
From: lonkaars <l.leblansch@gmail.com>
Date: Fri, 12 Mar 2021 08:55:40 +0100
Subject: cleaner endpoint names

---
 pages/user.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'pages/user.tsx')

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 }
 									});
-- 
cgit v1.2.3

