Browse Source

Merge pull request #122 from dshanske/iss121

Fix reload targets
pull/125/head
Aaron Parecki 4 years ago
committed by GitHub
parent
commit
3759383e91
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      controllers/micropub.php

+ 1
- 1
controllers/micropub.php View File

@ -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