mirror of
https://github.com/Kevsl/crypto-exchange-api.git
synced 2025-07-08 21:50:13 +02:00
fixed offer update
This commit is contained in:
parent
ab276380d4
commit
846b24e35c
@ -55,7 +55,7 @@ export class OfferService {
|
||||
if (!offer || offer.id !== offerId)
|
||||
throw new ForbiddenException('Offer id mandatory');
|
||||
|
||||
return this.prisma.role.update({
|
||||
return this.prisma.offer.update({
|
||||
where: {
|
||||
id: offerId,
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user