From f0c5635c2f072448808f35990b7f8abd84b9607d Mon Sep 17 00:00:00 2001 From: Aaron Parecki Date: Sun, 29 Sep 2019 15:36:59 +0200 Subject: add a dropdown to choose post visibility --- controllers/micropub.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'controllers/micropub.php') diff --git a/controllers/micropub.php b/controllers/micropub.php index a6ec9d5..fa8e477 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, ['q'=>'syndicate-to']); + $data = get_micropub_config($user); $app->response()['Content-type'] = 'application/json'; $app->response()->body(json_encode(array( 'targets' => $data['targets'], -- cgit v1.2.3