@startanaicompany/crm 2.13.0 → 2.13.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -419,7 +419,7 @@ keysCmd
|
|
|
419
419
|
const globalOpts = program.opts();
|
|
420
420
|
const client = getClient(globalOpts);
|
|
421
421
|
try {
|
|
422
|
-
const res = await client.patch(`/
|
|
422
|
+
const res = await client.patch(`/keys/${keyId}/scope`, { scope: opts.scope });
|
|
423
423
|
console.log(`Key scope updated to: ${opts.scope}`);
|
|
424
424
|
printJSON(res.data);
|
|
425
425
|
} catch (err) {
|