summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/notes
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-10-29 19:04:58 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-10-29 19:04:58 +0900
commit83d168ece3279148ba488d7e9fbdb93043d48301 (patch)
treef8e722bc1a295a138cd76b72373d141a278164f6 /src/server/api/endpoints/notes
parentRefactor (diff)
downloadsharkey-83d168ece3279148ba488d7e9fbdb93043d48301.tar.gz
sharkey-83d168ece3279148ba488d7e9fbdb93043d48301.tar.bz2
sharkey-83d168ece3279148ba488d7e9fbdb93043d48301.zip
Fix API definition
Diffstat (limited to 'src/server/api/endpoints/notes')
-rw-r--r--src/server/api/endpoints/notes/reactions.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/server/api/endpoints/notes/reactions.ts b/src/server/api/endpoints/notes/reactions.ts
index 958dc2343a..5f23068cd6 100644
--- a/src/server/api/endpoints/notes/reactions.ts
+++ b/src/server/api/endpoints/notes/reactions.ts
@@ -14,8 +14,10 @@ export const meta = {
params: {
noteId: $.type(ID).note({
- 'ja-JP': '対象の投稿のID',
- 'en-US': 'The ID of the target note'
+ desc: {
+ 'ja-JP': '対象の投稿のID',
+ 'en-US': 'The ID of the target note'
+ }
}),
limit: $.num.optional.range(1, 100).note({