mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2026-02-04 01:56:14 +01:00
renamed crypto search params
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user