fix: make optional
This commit is contained in:
parent
f201add95c
commit
5d1c61fcb4
1 changed files with 1 additions and 1 deletions
|
|
@ -263,7 +263,7 @@ export class RequestListController extends Controller {
|
||||||
@Path() requestWorkId: string,
|
@Path() requestWorkId: string,
|
||||||
@Path() step: number,
|
@Path() step: number,
|
||||||
@Body() payload: { requestWorkStatus?: RequestWorkStatus; attributes?: Record<string, any> },
|
@Body() payload: { requestWorkStatus?: RequestWorkStatus; attributes?: Record<string, any> },
|
||||||
@Query() successAll: boolean,
|
@Query() successAll?: boolean,
|
||||||
) {
|
) {
|
||||||
const record = await prisma.requestWorkStepStatus.upsert({
|
const record = await prisma.requestWorkStepStatus.upsert({
|
||||||
include: {
|
include: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue