calendar app: set mainUser and options for form

This commit is contained in:
2022-05-24 22:45:43 +02:00
parent 352b5b41b0
commit eb8b8c6939
10 changed files with 149 additions and 73 deletions

View File

@@ -57,7 +57,7 @@ const _fetchAction = (page, uri, params) => {
},
}).then(response => {
if (response.ok) { return response.json(); }
throw Error({ m: response.statusText });
throw new Error({ m: response.statusText });
});
};