We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 11eb32d + 8d5bd84 commit efb216cCopy full SHA for efb216c
ProcessMaker/Services/ScriptMicroserviceService.php
@@ -19,7 +19,7 @@ public function handle(Request $request)
19
$response = $request->all();
20
Log::debug('Response microservice executor: ' . print_r($response, true));
21
// If the call is from preview
22
- if ($response['metadata']['nonce']) {
+ if (!empty($response['metadata']['nonce'])) {
23
$status = $response['status'] === 'success' ? 200 : 500;
24
$output = $response['status'] === 'success'
25
? ['output' => $response['output']]
0 commit comments