summaryrefslogtreecommitdiff
path: root/controllers/micropub.php
diff options
context:
space:
mode:
authorAaron Parecki <aaron@parecki.com>2020-02-06 08:03:51 -0800
committerGitHub <noreply@github.com>2020-02-06 08:03:51 -0800
commit3759383e91344a6e10d23d4dbd90b9eda513d79c (patch)
treec335a9f2ecad252afd924e5502df1f4d5b85f7ff /controllers/micropub.php
parent37d315575f6decdcfac5fbf738043b09fead3939 (diff)
parentbee2d53690c1ac26b61fe21751b4063cf52d5c8b (diff)
Merge pull request #122 from dshanske/iss121
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'],