From 14fce4124132df018b245ba380eb225428fd648a Mon Sep 17 00:00:00 2001 From: davidcallizaya Date: Fri, 2 Jun 2017 15:11:44 -0400 Subject: [PATCH] HOR-3210 Fixed endpoint generate-link does not return body. --- .../src/ProcessMaker/Services/Api/Project/WebEntryEvent.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/workflow/engine/src/ProcessMaker/Services/Api/Project/WebEntryEvent.php b/workflow/engine/src/ProcessMaker/Services/Api/Project/WebEntryEvent.php index a834c1724..8ea2a056a 100644 --- a/workflow/engine/src/ProcessMaker/Services/Api/Project/WebEntryEvent.php +++ b/workflow/engine/src/ProcessMaker/Services/Api/Project/WebEntryEvent.php @@ -152,7 +152,8 @@ class WebEntryEvent extends Api public function generateLink($prj_uid, $wee_uid) { try { - $this->webEntryEvent->generateLink($prj_uid, $wee_uid); + $link = $this->webEntryEvent->generateLink($prj_uid, $wee_uid); + return ["link" => $link]; } catch (\Exception $e) { throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage()); }