Commit 84d9eb6
committed
refactor: streamline project validation in ProjectManagementService
- Replaced variable declarations for project and team member validation to improve readability.
- Updated logic to ensure projectId validation correctly handles detachment scenarios.
- Removed redundant project retrieval and exception handling for clarity.1 parent b0c98ab commit 84d9eb6
File tree
1 file changed
+4
-18
lines changed- backend/src/project-management
1 file changed
+4
-18
lines changedLines changed: 4 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
420 | | - | |
| 420 | + | |
421 | 421 | | |
422 | 422 | | |
423 | 423 | | |
424 | 424 | | |
425 | 425 | | |
426 | | - | |
| 426 | + | |
427 | 427 | | |
428 | 428 | | |
429 | | - | |
| 429 | + | |
430 | 430 | | |
431 | 431 | | |
432 | 432 | | |
| |||
482 | 482 | | |
483 | 483 | | |
484 | 484 | | |
485 | | - | |
486 | | - | |
487 | | - | |
488 | | - | |
489 | | - | |
490 | | - | |
491 | 485 | | |
492 | | - | |
| 486 | + | |
493 | 487 | | |
494 | 488 | | |
495 | 489 | | |
496 | | - | |
497 | | - | |
498 | | - | |
499 | | - | |
500 | | - | |
501 | | - | |
502 | | - | |
503 | | - | |
504 | 490 | | |
505 | 491 | | |
506 | 492 | | |
| |||
0 commit comments