Skip to content

Commit

Permalink
refactor(secret-path): add project id optional (scaleway#877)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored Sep 19, 2023
1 parent 5dbce75 commit 274332e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions packages/clients/src/api/secret/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,7 @@ export class API extends ParentAPI {
request.pageSize ?? this.client.settings.defaultPageSize,
],
['path', request.path],
[
'project_id',
request.projectId ?? this.client.settings.defaultProjectId,
],
['project_id', request.projectId],
),
},
unmarshalListFoldersResponse,
Expand Down
2 changes: 1 addition & 1 deletion packages/clients/src/api/secret/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ export type ListFoldersRequest = {
* config.
*/
region?: Region
/** ID of the Project. */
/** Filter by Project ID (optional). */
projectId?: string
/** Filter by path (optional). */
path?: string
Expand Down

0 comments on commit 274332e

Please sign in to comment.