From 3829fe128af66017c558cc979ed8cec6f0fb4630 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 1 Nov 2018 00:11:52 +0900 Subject: [PATCH] Update src/server/api/endpoints/users/relation.ts --- src/server/api/endpoints/users/relation.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/api/endpoints/users/relation.ts b/src/server/api/endpoints/users/relation.ts index d29065d11f..5c7da48349 100644 --- a/src/server/api/endpoints/users/relation.ts +++ b/src/server/api/endpoints/users/relation.ts @@ -7,6 +7,8 @@ export const meta = { 'ja-JP': 'ユーザー間のリレーションを取得します。' }, + requireCredential: true, + params: { userId: $.or($.type(ID), $.arr($.type(ID)).unique()).note({ desc: {