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 106c115 commit 01a4e13Copy full SHA for 01a4e13
packages/contentstack-config/src/commands/config/remove/rate-limit.ts
@@ -24,10 +24,7 @@ export default class RateLimitRemoveCommand extends Command {
24
cliux.print(`No rate limit found for the organization UID: ${org}`, { color: 'red' });
25
return;
26
}
27
-
28
- delete rateLimit[org];
29
30
- configHandler.set('rateLimit', rateLimit);
+ configHandler.delete(`rateLimit.${org}`);
31
cliux.print(`Rate limit entry for organization UID ${org} has been removed.`, { color: 'green' });
32
} catch (error) {
33
this.log('Unable to remove the rate limit entry', error instanceof Error ? error.message : error);
0 commit comments