diff --git a/src/main/resources/static/js/pages/index/api/indexAPI.js b/src/main/resources/static/js/pages/index/api/indexAPI.js index d1bc5d8..7a85ba6 100644 --- a/src/main/resources/static/js/pages/index/api/indexAPI.js +++ b/src/main/resources/static/js/pages/index/api/indexAPI.js @@ -10,7 +10,7 @@ export async function addList(listName) { } ); - return response; + return response.json(); } export async function deleteList(id) {