feat: redesign meal ordering system

This commit is contained in:
2025-12-02 12:57:42 +01:00
parent 0aada37286
commit 0cf6b405f1
24 changed files with 4823 additions and 639 deletions

View File

@@ -13,7 +13,7 @@ export const externalUsersLogin: Endpoint = {
if (typeof req.json === 'function') {
data = await req.json()
}
} catch (error) {
} catch (_error) {
// swallow error, data is already empty object
}
const { password, tenantSlug, tenantDomain, username } = data
@@ -113,7 +113,7 @@ export const externalUsersLogin: Endpoint = {
null,
true,
)
} catch (e) {
} catch (_e) {
throw new APIError(
'Unable to login with the provided username and password.',
400,