diff --git a/controllers/micropub.php b/controllers/micropub.php index fa8e477..6eacd4a 100644 --- a/controllers/micropub.php +++ b/controllers/micropub.php @@ -2,7 +2,7 @@ $app->get('/micropub/syndications', function() use($app) { if($user=require_login($app)) { - $data = get_micropub_config($user); + $data = get_micropub_config($user, ['q'=>'config']); $app->response()['Content-type'] = 'application/json'; $app->response()->body(json_encode(array( 'targets' => $data['targets'],