Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

304 B
Raw Blame
import { Injectable } from '@nestjs/common'
import { ThrottlerGuard } from '@nestjs/throttler'
import { AUTH_RATE_LIMIT_ERROR_MESSAGE } from '../constants/auth.js'

@Injectable()
export class AuthRateLimitGuard extends ThrottlerGuard {
  protected override errorMessage = AUTH_RATE_LIMIT_ERROR_MESSAGE
}