Skip to content

Commit 274332e

Browse files
authored
refactor(secret-path): add project id optional (#877)
1 parent 5dbce75 commit 274332e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/clients/src/api/secret/v1alpha1/api.gen.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -243,10 +243,7 @@ export class API extends ParentAPI {
243243
request.pageSize ?? this.client.settings.defaultPageSize,
244244
],
245245
['path', request.path],
246-
[
247-
'project_id',
248-
request.projectId ?? this.client.settings.defaultProjectId,
249-
],
246+
['project_id', request.projectId],
250247
),
251248
},
252249
unmarshalListFoldersResponse,

packages/clients/src/api/secret/v1alpha1/types.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ export type ListFoldersRequest = {
286286
* config.
287287
*/
288288
region?: Region
289-
/** ID of the Project. */
289+
/** Filter by Project ID (optional). */
290290
projectId?: string
291291
/** Filter by path (optional). */
292292
path?: string

0 commit comments

Comments
 (0)