fix: fixed quantity display on cryptos

This commit is contained in:
Kevsl
2024-06-12 21:26:29 +02:00
parent cf8fbe4fe5
commit 49faaf4fa0
3 changed files with 23 additions and 18 deletions

View File

@@ -21,6 +21,7 @@ export class UserService {
UserHasCrypto: {
select: {
Crypto: true,
amount: true,
},
},
},
@@ -40,10 +41,14 @@ export class UserService {
UserHasCrypto: {
select: {
Crypto: true,
amount: true,
},
},
},
take: 50,
orderBy: {
dollarAvailables: 'desc',
},
});
return user;
}