From 00fb96b30643c3d163d00e2344c304f52c14506f 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 958dc2343..5f23068cd 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({