fix: accept null

This commit is contained in:
Methapon2001 2024-12-03 11:31:59 +07:00
parent 42ff57e23e
commit 9fbc8ace15

View file

@ -303,14 +303,14 @@ export class RequestListController extends Controller {
payload: { payload: {
workStatus?: RequestWorkStatus; workStatus?: RequestWorkStatus;
attributes?: Record<string, any>; attributes?: Record<string, any>;
customerDuty?: boolean; customerDuty?: boolean | null;
customerDutyCost?: number; customerDutyCost?: number | null;
companyDuty?: boolean; companyDuty?: boolean | null;
companyDutyCost?: number; companyDutyCost?: number | null;
individualDuty?: boolean; individualDuty?: boolean | null;
individualDutyCost?: number; individualDutyCost?: number | null;
responsibleUserLocal?: boolean; responsibleUserLocal?: boolean | null;
responsibleUserId?: string; responsibleUserId?: string | null;
}, },
@Query() successAll?: boolean, @Query() successAll?: boolean,
) { ) {