feat: make accepting status as optional
This commit is contained in:
parent
870bd8ac3a
commit
aa622afc9f
1 changed files with 1 additions and 1 deletions
|
|
@ -262,7 +262,7 @@ export class RequestListController extends Controller {
|
|||
async updateRequestWorkStepStatus(
|
||||
@Path() requestWorkId: string,
|
||||
@Path() step: number,
|
||||
@Body() payload: { requestWorkStatus: RequestWorkStatus; attributes?: Record<string, any> },
|
||||
@Body() payload: { requestWorkStatus?: RequestWorkStatus; attributes?: Record<string, any> },
|
||||
) {
|
||||
const record = await prisma.requestWorkStepStatus.upsert({
|
||||
where: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue