mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2025-07-08 21:50:13 +02:00
renamed crypto search params
This commit is contained in:
parent
372ac6fdfb
commit
db61546414
@ -130,7 +130,7 @@ export class CryptoService {
|
||||
value: newCryptoValue,
|
||||
},
|
||||
});
|
||||
const newQuantity = (crypto.quantity -= 1);
|
||||
const newQuantity = (crypto.quantity -= dto.amount);
|
||||
return this.prisma.crypto.update({
|
||||
where: {
|
||||
id: dto.id_crypto,
|
||||
|
Loading…
x
Reference in New Issue
Block a user