mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2026-02-04 10:06:13 +01:00
removed id_offer on trade
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
import { IsInt, IsString } from 'class-validator';
|
||||
|
||||
export class PromoCodeDto {
|
||||
@IsString()
|
||||
name: string;
|
||||
|
||||
@IsInt()
|
||||
value: number;
|
||||
}
|
||||
@@ -76,7 +76,6 @@ export class TradeService {
|
||||
id_receiver: userId,
|
||||
id_crypto: offer.id_crypto,
|
||||
amount_traded: offer.amount,
|
||||
id_offer: offer.id,
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user