Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/redux/otomiApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ const injectedRtkApi = api.injectEndpoints({
}),
}),
getInternalRepoUrls: build.query<GetInternalRepoUrlsApiResponse, GetInternalRepoUrlsApiArg>({
query: (queryArg) => ({ url: `/v1/internalRepoUrls`, params: { teamId: queryArg.teamId } }),
query: (queryArg) => ({ url: `/v2/teams/${queryArg.teamId}/internalRepoUrls` }),
}),
createObjWizard: build.mutation<CreateObjWizardApiResponse, CreateObjWizardApiArg>({
query: (queryArg) => ({ url: `/v1/objwizard`, method: 'POST', body: queryArg.body }),
Expand Down Expand Up @@ -6324,8 +6324,8 @@ export type TestRepoConnectApiArg = {
}
export type GetInternalRepoUrlsApiResponse = /** status 200 Successfully obtained internal repo urls */ string[]
export type GetInternalRepoUrlsApiArg = {
/** ID of the team */
teamId?: string
/** ID of team */
teamId: string
}
export type CreateObjWizardApiResponse = /** status 200 Successfully configured obj wizard configuration */ object
export type CreateObjWizardApiArg = {
Expand Down