diff options
author | David Shanske <david@shanske.com> | 2020-02-03 21:21:09 +0000 |
---|---|---|
committer | David Shanske <david@shanske.com> | 2020-02-03 21:21:09 +0000 |
commit | bee2d53690c1ac26b61fe21751b4063cf52d5c8b (patch) | |
tree | c335a9f2ecad252afd924e5502df1f4d5b85f7ff | |
parent | 37d315575f6decdcfac5fbf738043b09fead3939 (diff) |
Fix reload targets
-rw-r--r-- | controllers/micropub.php | 2 |
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'], |