Skip to content

feat: aplly new routes and check by organisation#119

Merged
Kimoo193 merged 1 commit into
mainfrom
enhance/111/check-by-organisation
Apr 8, 2025
Merged

feat: aplly new routes and check by organisation#119
Kimoo193 merged 1 commit into
mainfrom
enhance/111/check-by-organisation

Conversation

@Kimoo193
Copy link
Copy Markdown
Contributor

@Kimoo193 Kimoo193 commented Apr 8, 2025

PR Checklist (required)

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines.

  • Tests for the changes have been added (for bug fixes / features)

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation changes
  • Other... Please describe:

Related Issue

Closes #111

@Kimoo193 Kimoo193 linked an issue Apr 8, 2025 that may be closed by this pull request
@Kimoo193 Kimoo193 requested a review from Copilot April 8, 2025 12:51
@Kimoo193 Kimoo193 added the enhancement New feature or request label Apr 8, 2025
@Kimoo193 Kimoo193 merged commit 060e205 into main Apr 8, 2025
8 checks passed
@Kimoo193 Kimoo193 deleted the enhance/111/check-by-organisation branch April 8, 2025 12:52
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (1)

src/controllers/department.controller.js:263

  • [nitpick] The update changes the condition from matching the department ID to matching the organization ID. Verify that this change is the intended business logic for checking the user's association.
organizationId: department.organizationId, // Fixed this line

Comment thread src/controllers/department.controller.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ENHANCEMENT] check by organisation

2 participants