diff --git a/src/offer/offer.service.ts b/src/offer/offer.service.ts index ca906d2..b12c474 100644 --- a/src/offer/offer.service.ts +++ b/src/offer/offer.service.ts @@ -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, },