summaryrefslogtreecommitdiff
path: root/controllers/micropub.php
diff options
context:
space:
mode:
Diffstat (limited to 'controllers/micropub.php')
-rw-r--r--controllers/micropub.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/controllers/micropub.php b/controllers/micropub.php
index a6ec9d5..fa8e477 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, ['q'=>'syndicate-to']);
+ $data = get_micropub_config($user);
$app->response()['Content-type'] = 'application/json';
$app->response()->body(json_encode(array(
'targets' => $data['targets'],