Skip to content

Commit

Permalink
Merge pull request #276 from ChurchCRM/fixes-#275
Browse files Browse the repository at this point in the history
closes #275
  • Loading branch information
DawoudIO committed Feb 1, 2016
2 parents 06bef50 + 0ffed76 commit e7671d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion churchinfo/api/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@
$app->group('/families', function () use ($app) {
$app->get('/search/:query', function ($query) use ($app) {
try {
echo $app->FamilyService->search($query);
echo $app->FamilyService->getFamiliesJSON($app->FamilyService->search($query));
} catch (Exception $e) {
echo exceptionToJSON($e);
}
Expand Down

0 comments on commit e7671d1

Please sign in to comment.