From b05bee58d28c3209d7f86a909f877c1e121c12ed Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 20 Mar 2017 04:24:19 +0900 Subject: #298 --- src/api/endpoints.ts | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'src/api/endpoints.ts') diff --git a/src/api/endpoints.ts b/src/api/endpoints.ts index 17cd8ff56f..2d3716bb85 100644 --- a/src/api/endpoints.ts +++ b/src/api/endpoints.ts @@ -115,21 +115,12 @@ const endpoints: Endpoint[] = [ { name: 'aggregation/users/post', }, - { - name: 'aggregation/users/like' - }, { name: 'aggregation/users/followers' }, { name: 'aggregation/users/following' }, - { - name: 'aggregation/posts/like' - }, - { - name: 'aggregation/posts/likes' - }, { name: 'aggregation/posts/repost' }, @@ -370,26 +361,26 @@ const endpoints: Endpoint[] = [ } }, { - name: 'posts/likes', + name: 'posts/reactions', withCredential: true }, { - name: 'posts/likes/create', + name: 'posts/reactions/create', withCredential: true, limit: { duration: ms('1hour'), max: 100 }, - kind: 'like-write' + kind: 'reaction-write' }, { - name: 'posts/likes/delete', + name: 'posts/reactions/delete', withCredential: true, limit: { duration: ms('1hour'), max: 100 }, - kind: 'like-write' + kind: 'reaction-write' }, { name: 'posts/favorites/create', -- cgit v1.2.3-freya