Browse Source
Merge pull request #122 from dshanske/iss121
Fix reload targets
pull/125/head
Aaron Parecki
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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'], |
|
|
|