forked from Yara724/api
YARA-1257, YARA-1272, YARA-985
This commit is contained in:
@@ -348,14 +348,13 @@ export class FileReviewerBlameV5Controller {
|
||||
@ApiParam({ name: "claimRequestId" })
|
||||
@ApiConsumes("multipart/form-data")
|
||||
@ApiBody({
|
||||
description: "Signature file, agreement, and branch",
|
||||
description: "Signature file and agreement",
|
||||
schema: {
|
||||
type: "object",
|
||||
required: ["sign", "agree", "branchId"],
|
||||
required: ["sign", "agree"],
|
||||
properties: {
|
||||
sign: { type: "string", format: "binary", description: "Signature image" },
|
||||
agree: { type: "boolean", description: "true to accept, false to reject" },
|
||||
branchId: { type: "string", description: "Insurer branch ID" },
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -384,7 +383,6 @@ export class FileReviewerBlameV5Controller {
|
||||
async submitOwnerSign(
|
||||
@Param("claimRequestId") claimRequestId: string,
|
||||
@Body("agree") agree: string | boolean,
|
||||
@Body("branchId") branchId: string,
|
||||
@CurrentUser() fileReviewer: any,
|
||||
@UploadedFile() sign: Express.Multer.File,
|
||||
) {
|
||||
@@ -397,7 +395,6 @@ export class FileReviewerBlameV5Controller {
|
||||
return await this.claimRequestManagementService.submitOwnerInsurerApprovalSignV2(
|
||||
claimRequestId,
|
||||
agreed,
|
||||
typeof branchId === "string" ? branchId : "",
|
||||
sign,
|
||||
fileReviewer.sub,
|
||||
fileReviewer,
|
||||
|
||||
Reference in New Issue
Block a user