stack/apps/backend
Fahad Khan 4792aa53f8 Fix: Improve error handling for Server API (#170)
* Added entity checks to provide better errors in API for 'server' access type

* Removed 'ensureUserTeamPermissionExist', changed permissionId type to string in 'ensureUserHasTeamPermission'

* added different error types for user team permission

---------

Co-authored-by: Fahad Khan <fahad.khan@net-mon.net>
Co-authored-by: Zai Shi <zaishi00@outlook.com>
2024-08-10 09:45:48 -07:00
..
prisma Team invitation (#171) 2024-08-10 09:45:47 -07:00
scripts Webhooks (#157) 2024-08-01 02:44:35 +02:00
src Fix: Improve error handling for Server API (#170) 2024-08-10 09:45:48 -07:00
.env Webhooks (#157) 2024-08-01 02:44:35 +02:00
.env.development Webhooks (#157) 2024-08-01 02:44:35 +02:00
.eslintrc.cjs Impersonation 2024-07-26 16:06:59 -07:00
.gitignore Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
CHANGELOG.md chore: update package versions 2024-08-04 13:01:11 -07:00
LICENSE Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00
next.config.mjs Create users & auth endpoints in backend (#85) 2024-07-01 22:42:08 -07:00
package.json chore: update package versions 2024-08-04 13:01:11 -07:00
sentry.client.config.ts Retry OAuth endpoints 2024-08-03 13:13:23 -07:00
sentry.edge.config.ts Retry OAuth endpoints 2024-08-03 13:13:23 -07:00
sentry.server.config.ts Retry OAuth endpoints 2024-08-03 13:13:23 -07:00
tsconfig.json Split backend and dashboard (#83) 2024-06-18 15:49:31 +02:00