mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-31 02:14:00 +00:00
Admin Workflow - Fix Tested Issues - upload 3 documents at one step
This commit is contained in:
+2
-2
@@ -115,7 +115,7 @@ class UpdateNextQuestionV1AdminWFLogic extends AbstractControllerLogic
|
||||
}
|
||||
|
||||
//Save answer given by user (both next and previous)
|
||||
$filesUpload = $request->input('files');
|
||||
$filesUpload = $request->only(['files', 'filesA', 'filesB', 'filesC']);
|
||||
$answerOptionId = 0;
|
||||
if ($request->has('answerObj')) {
|
||||
$answerOptionId = intval($request->answerObj['id']);
|
||||
@@ -187,4 +187,4 @@ class UpdateNextQuestionV1AdminWFLogic extends AbstractControllerLogic
|
||||
|
||||
return $this->resourceResponse(new QuestionResource($returnQuestion, $userId, $request->has('isPrevious'), $isNoGoingBack, $previousAnswer));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user