Change for Zapier
This commit is contained in:
parent
a895ffd1c5
commit
b9f51dd4e8
1 changed files with 2 additions and 2 deletions
|
|
@ -36,9 +36,9 @@ class AccountApiController extends BaseAPIController
|
|||
{
|
||||
$headers = Utils::getApiHeaders();
|
||||
|
||||
// Legacy support for Zapier
|
||||
// Legacy support for Zapier
|
||||
if (request()->v2) {
|
||||
return $this->response(RESULT_SUCCESS);
|
||||
return $this->response(auth()->user()->email);
|
||||
} else {
|
||||
return Response::make(RESULT_SUCCESS, 200, $headers);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue