Merge pull request #1352 from mailpoet/less-info

Returning only the id and email on form's response [MAILPOET-1370]
This commit is contained in:
Michelle Shull
2018-05-17 06:59:10 -04:00
committed by GitHub
2 changed files with 3 additions and 22 deletions

View File

@ -170,7 +170,7 @@ class Subscribers extends APIEndpoint {
}
return $this->successResponse(
Subscriber::findOne($subscriber->id)->asArray(),
array(),
$meta
);
}