mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2025-07-09 14:00:12 +02:00
fixed hash show in my-assets-endpoint
This commit is contained in:
parent
7a5a5bbae9
commit
3c42d14f61
@ -13,9 +13,14 @@ export class UserService {
|
|||||||
where: {
|
where: {
|
||||||
id: userId,
|
id: userId,
|
||||||
},
|
},
|
||||||
include: {
|
select: {
|
||||||
|
id: true,
|
||||||
|
firstName: true,
|
||||||
|
lastName: true,
|
||||||
|
dollarAvailables: true,
|
||||||
|
pseudo: true,
|
||||||
UserHasCrypto: {
|
UserHasCrypto: {
|
||||||
include: {
|
select: {
|
||||||
Crypto: true,
|
Crypto: true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user