diff --git a/src/app.module.ts b/src/app.module.ts index e99ce30e..61b3f7c6 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -57,7 +57,7 @@ import { AgendaModule } from './agenda/agenda.module' useClass: RolesGuard, }, - process.env.NODE_ENV !== 'production' && { + process.env.NODE_ENV === 'development' && { provide: APP_INTERCEPTOR, useClass: DelayInterceptor, },