fix api debug message

feature-backend-add-springdocs
Masaharu.Kato 4 months ago
parent 26ad09da97
commit eed4102962
  1. 6
      frontend/src/services/api.ts

@ -282,13 +282,15 @@ export const stockApi = {
});
console.log("API レスポンスステータス:", response.status);
console.log("API レスポンス本文:", await response.text());
// console.log("API レスポンス本文:", await response.text());
if (!response.ok) {
throw new Error(STOCK_ERRORS.DELETE_FAILED);
}
return response.json()
const response_json = response.json()
console.log('Delete response:', response_json)
return response_json
// return {
// "result": true

Loading…
Cancel
Save