summaryrefslogtreecommitdiff
path: root/src/api/endpoints/posts/reactions
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-05-28 20:12:22 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-05-28 20:12:22 +0900
commitdff15d74cb30923a74be2b6cd8f8164f755897c3 (patch)
tree04cbb5f3c706dffb538e7a1dc88e459a4044c384 /src/api/endpoints/posts/reactions
parent[api:endpoints/posts/create] translate '二重repostです' into English (diff)
downloadsharkey-dff15d74cb30923a74be2b6cd8f8164f755897c3.tar.gz
sharkey-dff15d74cb30923a74be2b6cd8f8164f755897c3.tar.bz2
sharkey-dff15d74cb30923a74be2b6cd8f8164f755897c3.zip
Add some reactions
Diffstat (limited to 'src/api/endpoints/posts/reactions')
-rw-r--r--src/api/endpoints/posts/reactions/create.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/api/endpoints/posts/reactions/create.ts b/src/api/endpoints/posts/reactions/create.ts
index a3b25baa6a..ba5b69ada3 100644
--- a/src/api/endpoints/posts/reactions/create.ts
+++ b/src/api/endpoints/posts/reactions/create.ts
@@ -26,7 +26,10 @@ module.exports = (params, user) => new Promise(async (res, rej) => {
'laugh',
'hmm',
'surprise',
- 'congrats'
+ 'congrats',
+ 'angry',
+ 'confused',
+ 'pudding'
]).$;
if (reactionErr) return rej('invalid reaction param');