summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-11-13 15:20:43 +0100
committerJulius Härtl <jus@bitgrid.net>2018-11-14 12:07:54 +0100
commit8d66e5dc04a6a015429a945ee49a8846bad6c693 (patch)
tree931f66d5733c6762ff76a2517a6a86ed17ef7d48 /appinfo
parent16cfac1f9c44a6b50421e1b40f4326e5a2294b74 (diff)
Start using the real backend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 37c77c19..1929d455 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -31,8 +31,8 @@ return [
['name' => 'SocialPub#displayPost', 'url' => '/@{username}/{postId}', 'verb' => 'GET'],
['name' => 'Local#newPost', 'url' => '/api/v1/post', 'verb' => 'POST'],
- ['name' => 'Local#timeline', 'url' => '/api/v1/timeline', 'verb' => 'PUT'],
- ['name' => 'Local#direct', 'url' => '/api/v1/direct', 'verb' => 'PUT'],
+ ['name' => 'Local#timeline', 'url' => '/api/v1/timeline', 'verb' => 'GET'],
+ ['name' => 'Local#direct', 'url' => '/api/v1/direct', 'verb' => 'PUT']
['name' => 'Local#accountSearch', 'url' => '/api/v1/accounts/search', 'verb' => 'GET'],
['name' => 'Local#actorInfo', 'url' => '/api/v1/actor/info', 'verb' => 'GET']