removed id_offer on trade

This commit is contained in:
Kevsl
2024-06-07 13:31:22 +02:00
parent 2db99d1354
commit 67d33dce2e
4 changed files with 11 additions and 13 deletions

View File

@@ -1,9 +0,0 @@
import { IsInt, IsString } from 'class-validator';
export class PromoCodeDto {
@IsString()
name: string;
@IsInt()
value: number;
}

View File

@@ -76,7 +76,6 @@ export class TradeService {
id_receiver: userId,
id_crypto: offer.id_crypto,
amount_traded: offer.amount,
id_offer: offer.id,
},
});