diff options
author | Aaron Parecki <aaron@parecki.com> | 2020-02-06 08:03:51 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 08:03:51 -0800 |
commit | 3759383e91344a6e10d23d4dbd90b9eda513d79c (patch) | |
tree | c335a9f2ecad252afd924e5502df1f4d5b85f7ff | |
parent | 37d315575f6decdcfac5fbf738043b09fead3939 (diff) | |
parent | bee2d53690c1ac26b61fe21751b4063cf52d5c8b (diff) |
Merge pull request #122 from dshanske/iss121
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'], |