Skip to content

Commit c6e2bc0

Browse files
talissoncostaclaude
andcommitted
refactor: standardize organisation ID types to string
- Change getOrganisation, updateOrganisation, and deleteOrganisation ID types from 'string | number' to 'string' - Organization IDs can contain alphanumeric characters, so string is more appropriate 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 683bfcb commit c6e2bc0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

frontend/common/types/requests.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,9 +158,9 @@ export type Req = {
158158
environments?: string
159159
}>
160160
getOrganisations: {}
161-
getOrganisation: { id: string | number }
162-
updateOrganisation: { id: string | number; body: UpdateOrganisationBody }
163-
deleteOrganisation: { id: string | number }
161+
getOrganisation: { id: string }
162+
updateOrganisation: { id: string; body: UpdateOrganisationBody }
163+
deleteOrganisation: { id: string }
164164
uploadOrganisationLicence: {
165165
id: number
166166
body: {

0 commit comments

Comments
 (0)