Skip to content

Commit

Permalink
feat(mongodb): fix typo the CreateUser url (scaleway#1550)
Browse files Browse the repository at this point in the history
Co-authored-by: Laure-di <[email protected]>
  • Loading branch information
scaleway-bot and Laure-di authored Nov 4, 2024
1 parent a6e1bf5 commit 72161ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/clients/src/api/mongodb/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export class API extends ParentAPI {
),
headers: jsonContentHeaders,
method: 'POST',
path: `/mongodb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users/${validatePathParam('name', request.name)}`,
path: `/mongodb/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/instances/${validatePathParam('instanceId', request.instanceId)}/users`,
},
unmarshalUser,
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ export const marshalCreateUserRequest = (
request: CreateUserRequest,
defaults: DefaultValues,
): Record<string, unknown> => ({
name: request.name,
password: request.password,
})

Expand Down

0 comments on commit 72161ef

Please sign in to comment.