Loading Controllers/api/v2/settings/emails.php +6 −0 Original line number Original line Diff line number Diff line Loading @@ -13,6 +13,12 @@ class emails implements Interfaces\Api public function get($pages) public function get($pages) { { $user = Core\Session::getLoggedInUser(); $user = Core\Session::getLoggedInUser(); if (!$user) { return Factory::response([ 'status' => 'error', 'message' => 'User must be logged in.' ]); } $campaigns = [ 'when', 'with', 'global' ]; $campaigns = [ 'when', 'with', 'global' ]; Loading Loading
Controllers/api/v2/settings/emails.php +6 −0 Original line number Original line Diff line number Diff line Loading @@ -13,6 +13,12 @@ class emails implements Interfaces\Api public function get($pages) public function get($pages) { { $user = Core\Session::getLoggedInUser(); $user = Core\Session::getLoggedInUser(); if (!$user) { return Factory::response([ 'status' => 'error', 'message' => 'User must be logged in.' ]); } $campaigns = [ 'when', 'with', 'global' ]; $campaigns = [ 'when', 'with', 'global' ]; Loading