mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-19 13:36:48 +00:00
8187a423e2
createInvite returned { error: 'Trip not found', status: 404 } and the admin controller never looked at it: POST /api/admin/invites with an unknown trip_id answered 201 with an empty body and wrote an admin.invite_create audit row for resource 'undefined'. The service throws the DomainError now, so the route answers 404 { error: 'Trip not found' } and writes neither the invite nor the audit row.
31 lines
907 B
JSON
31 lines
907 B
JSON
{
|
|
"src": {
|
|
"@typescript-eslint/no-explicit-any": 90,
|
|
"@typescript-eslint/no-non-null-assertion": 265,
|
|
"@typescript-eslint/no-require-imports": 18,
|
|
"@typescript-eslint/no-unsafe-function-type": 1,
|
|
"@typescript-eslint/no-unused-vars": 36,
|
|
"no-await-in-loop": 563,
|
|
"no-console": 236,
|
|
"no-empty": 6
|
|
},
|
|
"suppressed": {
|
|
"@typescript-eslint/no-explicit-any": 128,
|
|
"@typescript-eslint/no-require-imports": 20,
|
|
"no-control-regex": 7,
|
|
"no-misleading-character-class": 1
|
|
},
|
|
"tests": {
|
|
"@typescript-eslint/no-explicit-any": 1567,
|
|
"@typescript-eslint/no-non-null-assertion": 1757,
|
|
"@typescript-eslint/no-require-imports": 25,
|
|
"@typescript-eslint/no-unsafe-function-type": 7,
|
|
"@typescript-eslint/no-unused-vars": 96,
|
|
"no-await-in-loop": 459,
|
|
"no-console": 18,
|
|
"no-empty": 2,
|
|
"no-useless-escape": 1,
|
|
"prefer-const": 3
|
|
}
|
|
}
|