From 74e392eb553a429f6b11ab7baf69997f3e0ab41e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=8A=B9=EC=9B=90?= Date: Thu, 24 Aug 2023 14:56:57 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20async=20=EC=98=A4=ED=83=88=EC=9E=90=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: 이선근 --- src/apis/todo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apis/todo.ts b/src/apis/todo.ts index 47075a6..31428b7 100644 --- a/src/apis/todo.ts +++ b/src/apis/todo.ts @@ -20,6 +20,6 @@ export const updateTodoRequest = async ( return data } -export const deleteTodoRequest = (id: number) => { +export const deleteTodoRequest = async (id: number) => { return AuthInstance.delete(`/todos/${id}`) }