From bee2d53690c1ac26b61fe21751b4063cf52d5c8b Mon Sep 17 00:00:00 2001 From: David Shanske Date: Mon, 3 Feb 2020 21:21:09 +0000 Subject: Fix reload targets --- controllers/micropub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controllers') 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'], -- cgit v1.2.3