mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2025-07-09 14:00:12 +02:00
fixed offer creation
This commit is contained in:
parent
8c571045f8
commit
88f2f7f308
@ -32,7 +32,7 @@ export class OfferService {
|
|||||||
|
|
||||||
const userAssets = await this.prisma.userHasCrypto.findFirst({
|
const userAssets = await this.prisma.userHasCrypto.findFirst({
|
||||||
where: {
|
where: {
|
||||||
id: userId,
|
id_user: userId,
|
||||||
Crypto: {
|
Crypto: {
|
||||||
id: dto.id_crypto,
|
id: dto.id_crypto,
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user