π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat: fix throttler
Nevo David7a82798cdc38
diff --git a/libraries/nestjs-libraries/src/throttler/throttler.provider.ts b/libraries/nestjs-libraries/src/throttler/throttler.provider.tsindex beb017634..8118aaa32 100644--- a/libraries/nestjs-libraries/src/throttler/throttler.provider.ts+++ b/libraries/nestjs-libraries/src/throttler/throttler.provider.ts@@ -11,12 +11,14 @@ export class ThrottlerBehindProxyGuard extends ThrottlerGuard {return super.canActivate(context);}- return true;+ return super.canActivate(context);}protected override async getTracker(req: Record<string, any>): Promise<string> {- return req.org.id;+ return (+ req.org.id + '_' + (req.url.indexOf('/posts') > -1 ? 'posts' : 'other')+ );}}