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}`) }