Tenant code filter added to organization/read internal api#781
Conversation
WalkthroughThe Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant Controller (Organization)
participant Service (OrganizationsHelper)
Client->>Controller (Organization): GET /organization?organisation_id&organisation_code&tenant_code
Controller (Organization)->>Service (OrganizationsHelper): read(organisationId, organisationCode, tenantCode)
Service (OrganizationsHelper)-->>Controller (Organization): Organization data (filtered)
Controller (Organization)-->>Client: Response with organization data
Estimated code review effort🎯 2 (Simple) | ⏱️ ~7 minutes Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (2)
🧰 Additional context used📓 Path-based instructions (2)src/services/**⚙️ CodeRabbit Configuration File
Files:
src/controllers/**⚙️ CodeRabbit Configuration File
Files:
🧠 Learnings (3)📓 Common learnings📚 Learning: in the elevate-project/user codebase, organizationcode and tenantcode parameters passed to service m...Applied to files:
📚 Learning: the migration for converting tenant_code to a primary key in the entitytype model was already handle...Applied to files:
🔇 Additional comments (2)
✨ Finishing Touches
🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
Summary by CodeRabbit