fixed entities

This commit is contained in:
2025-09-19 18:30:44 -06:00
parent 0a27caf7ed
commit 429678dc3b
15 changed files with 113 additions and 79 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ export class User {
@OneToMany(
() => DetalleServicio,
(id_detalle_servicio) => id_detalle_servicio.id_perfil,
(id_detalle_servicio) => id_detalle_servicio.user,
)
detalles_servicio: DetalleServicio[];
-1
View File
@@ -14,7 +14,6 @@ export class JwtStrategy extends PassportStrategy(Strategy) {
}
async validate(payload: any) {
console.log('payload:', payload);
return { id: payload.id, usuario: payload.usuario };
}
}