HOR-3210
Fixed endpoint generate-link does not return body.
This commit is contained in:
@@ -152,7 +152,8 @@ class WebEntryEvent extends Api
|
|||||||
public function generateLink($prj_uid, $wee_uid)
|
public function generateLink($prj_uid, $wee_uid)
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$this->webEntryEvent->generateLink($prj_uid, $wee_uid);
|
$link = $this->webEntryEvent->generateLink($prj_uid, $wee_uid);
|
||||||
|
return ["link" => $link];
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
|
throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user