We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac78714 commit af1a742Copy full SHA for af1a742
CHANGELOG.md
@@ -1,4 +1,4 @@
1
-## 1.2.0 (August 30, 2021)
+## 1.2.0 (November 12, 2021)
2
* Added `fetchAllSecretsForWorkspace` method to `PlatformApiLogicClient`
3
4
## 1.1.7 (August 30, 2021)
lib/platformApi/PlatformApiLogicClient.ts
@@ -91,6 +91,7 @@ export class PlatformApiLogicClient extends PlatformApiRestClient {
91
*/
92
async fetchAllSecretsForWorkspace(options: any = {}) {
93
const { workspaceId } = options;
94
+ if (!workspaceId) throw new Error(`workspaceId not provided, can't fetch secrets`)
95
const secrets = await this.makeRequest({ method: 'GET', url: `/workspaces/${workspaceId}/secrets` });
96
const resp: any = [];
97
0 commit comments