feat: adiciona endpoint placa-8122 e remove newrelic/pm2

Simplifica start:prod e ajusta consultas de ofertas para 10x (codplpagmax=42), com melhorias de sanitização e imports.
This commit is contained in:
2026-01-28 09:19:11 -03:00
parent b13e2775b4
commit 83a1fd78be
11 changed files with 689 additions and 1462 deletions

View File

@@ -3,6 +3,7 @@ import { RedisClientToken } from '../../core/configs/cache/redis-client.adapter.
import { IRedisClient } from '../../core/configs/cache/IRedisClient';
import { JwtService } from '@nestjs/jwt';
import { JwtPayload } from '../models/jwt-payload.model';
import * as crypto from 'crypto';
@Injectable()
export class TokenBlacklistService {
@@ -64,7 +65,6 @@ export class TokenBlacklistService {
}
private hashToken(token: string): string {
const crypto = require('crypto');
return crypto
.createHash('sha256')
.update(token)