From 83d168ece3279148ba488d7e9fbdb93043d48301 Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 29 Oct 2018 19:04:58 +0900 Subject: [PATCH] Fix API definition --- src/server/api/endpoints/notes/reactions.ts | 6 ++++-- 1 file 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({