From f753451e925c110223446b1a0c3b33a9b4bb80c8 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 18 Apr 2019 14:58:43 +0900 Subject: [PATCH] Fix API definition --- src/server/api/endpoints/notes/hybrid-timeline.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/api/endpoints/notes/hybrid-timeline.ts b/src/server/api/endpoints/notes/hybrid-timeline.ts index 6dfb14300..effee2b13 100644 --- a/src/server/api/endpoints/notes/hybrid-timeline.ts +++ b/src/server/api/endpoints/notes/hybrid-timeline.ts @@ -17,6 +17,8 @@ export const meta = { tags: ['notes'], + requireCredential: true, + params: { limit: { validator: $.optional.num.range(1, 100),