Commit 95e72c1
committed
fix(dashboard-api): fix project creation schema validation error
- Restored missing required fields (jwtSecret, secretKeyEncrypted, secretKeyRevealed) in the new Project instantiation.
- Removed invalid 'owner' role from the members array default (members default to empty array in Project schema).
- Added console.error logs for generic 500 errors in createProject to prevent silent failures in the future.1 parent 3baca94 commit 95e72c1
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| 406 | + | |
406 | 407 | | |
407 | 408 | | |
408 | 409 | | |
| |||
412 | 413 | | |
413 | 414 | | |
414 | 415 | | |
| 416 | + | |
415 | 417 | | |
416 | 418 | | |
417 | 419 | | |
| |||
0 commit comments