Fixed endpoint generate-link does not return body.
This commit is contained in:
davidcallizaya
2017-06-02 15:11:44 -04:00
parent 14b31395bb
commit 14fce41241

View File

@@ -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());
}