fix: status not change
This commit is contained in:
parent
f5537b590b
commit
6d4f598fe0
1 changed files with 1 additions and 1 deletions
|
|
@ -577,7 +577,7 @@ export class CreditNoteActionController extends Controller {
|
||||||
await this.#checkPermission(req.user, creditNoteId);
|
await this.#checkPermission(req.user, creditNoteId);
|
||||||
return await prisma.creditNote.update({
|
return await prisma.creditNote.update({
|
||||||
where: { id: creditNoteId },
|
where: { id: creditNoteId },
|
||||||
data: { creditNoteStatus: CreditNoteStatus.Waiting },
|
data: { creditNoteStatus: CreditNoteStatus.Pending },
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue