fix: ( payment ) add ispublic to payment event consumer

This commit is contained in:
Abubeker Yasin
2026-06-30 20:06:43 +03:00
parent be9c6c4adb
commit 1c9efed103
3 changed files with 9 additions and 0 deletions

View File

@@ -15,6 +15,10 @@ export class DynamicThrottlerGuard extends ThrottlerGuard {
}
async canActivate(context: ExecutionContext): Promise<boolean> {
if (context.getType() !== 'http') {
return true;
}
const [authLimit, authTtl, strictLimit, strictTtl, defaultLimit, defaultTtl] =
await Promise.all([
this.systemConfig.getNumber(CONFIG_KEYS.THROTTLE_AUTH_LIMIT),