fixed entities
This commit is contained in:
@@ -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[];
|
||||
|
||||
|
||||
@@ -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 };
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user