Версия 0.2.5 Отладка работы в базой данных в Docker.

This commit is contained in:
anibilag 2025-07-09 23:22:32 +03:00
parent 371d84d7bb
commit 41c21b9d25
3 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "lawn-mowing-scheduler", "name": "lawn-mowing-scheduler",
"private": true, "private": true,
"version": "0.2.4", "version": "0.2.5",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "concurrently \"npm run server\" \"npm run client\"", "dev": "concurrently \"npm run server\" \"npm run client\"",

View File

@ -64,7 +64,8 @@ export const api = {
method: 'PUT', method: 'PUT',
body: formData, body: formData,
}); });
if (!response.ok) throw new Error('Failed to update zone'); console.log(response);
if (!response.ok) throw new Error('Ошибка изменения данных зоны');
return response.json(); return response.json();
}, },

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB