diff --git a/src/api/client.ts b/src/api/client.ts index 7dfdf19..8a5dd93 100644 --- a/src/api/client.ts +++ b/src/api/client.ts @@ -20,7 +20,10 @@ export function get(...args: Parameters) { export function post(url: string, data: unknown): Promise { return instance .post>(url, data) - .then((response) => response.data); + .then((response) => { + console.log(response.data); + return response.data; + }); } export function put(...args: Parameters) {