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