From c5670e3f468ac9affa6db0e5e292e8604a052245 Mon Sep 17 00:00:00 2001 From: Eunwoo Choi Date: Mon, 5 Jun 2023 22:16:06 +0900 Subject: [PATCH] fix: unable to submit server --- utils/Query.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/Query.ts b/utils/Query.ts index 2cda6f0..0698fe3 100644 --- a/utils/Query.ts +++ b/utils/Query.ts @@ -476,8 +476,7 @@ async function submitServer(userID: string, id: string, data: AddServerSubmit): desc: data.desc, category: JSON.stringify(data.category), invite: data.invite, - token: sign({ id }), - last_updated: new Date().toISOString() + token: sign({ id }) }) get.server.clear(id) return true