Browse Source

Merge pull request #122 from dshanske/iss121

Fix reload targets
pull/125/head
Aaron Parecki 5 years ago
committed by GitHub
parent
commit
3759383e91
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      controllers/micropub.php

2
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'],

Loading…
Cancel
Save