summaryrefslogtreecommitdiff
path: root/controllers/micropub.php
diff options
context:
space:
mode:
authorDavid Shanske <david@shanske.com>2020-02-03 21:21:09 +0000
committerDavid Shanske <david@shanske.com>2020-02-03 21:21:09 +0000
commitbee2d53690c1ac26b61fe21751b4063cf52d5c8b (patch)
treec335a9f2ecad252afd924e5502df1f4d5b85f7ff /controllers/micropub.php
parent37d315575f6decdcfac5fbf738043b09fead3939 (diff)
Fix reload targets
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 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'],