diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-10-29 19:04:58 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-10-29 19:04:58 +0900 |
| commit | 83d168ece3279148ba488d7e9fbdb93043d48301 (patch) | |
| tree | f8e722bc1a295a138cd76b72373d141a278164f6 /src/server/api/endpoints/notes | |
| parent | Refactor (diff) | |
| download | sharkey-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.ts | 6 |
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({ |