Skip to content

Commit 0487532

Browse files
committed
fix: apply PR feedback to update dedicated_for type and remove eslint-disable rules
1 parent d0ba38f commit 0487532

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

test/integration/api/provisioning/access_keys_spec.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* eslint-disable no-mixed-spaces-and-tabs */
2-
/* eslint-disable no-tabs */
31
const cloudinary = require("../../../../cloudinary");
42
const expect = require('expect.js');
53
const TIMEOUT = require('../../../testUtils/testConstants').TIMEOUT;

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,7 @@ declare module 'cloudinary' {
15341534
function update_access_key(subAccountId: string, apiKey: string, options?: ProvisioningApiOptions | {
15351535
name?: string,
15361536
enabled?: boolean,
1537-
dedicated_for?: string
1537+
dedicated_for?: 'webhooks',
15381538
}, callback?: ResponseCallback): Promise<AccessKeyDetails>;
15391539

15401540
function delete_access_key(subAccountId: string, apiKey: string, options?: ProvisioningApiOptions, callback?: ResponseCallback): Promise<DeleteAccessKeyResponse>;

0 commit comments

Comments
 (0)