summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/room
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-02-15 21:33:32 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2020-02-15 21:33:32 +0900
commit43734f027ba45dbc1d756d6b4e13dcd59f420ac2 (patch)
tree07fef8bf53c16e049bcc5fb9b08a0dd31f63443a /src/server/api/endpoints/room
parent:art: (diff)
downloadsharkey-43734f027ba45dbc1d756d6b4e13dcd59f420ac2.tar.gz
sharkey-43734f027ba45dbc1d756d6b4e13dcd59f420ac2.tar.bz2
sharkey-43734f027ba45dbc1d756d6b4e13dcd59f420ac2.zip
Refactoring
Diffstat (limited to 'src/server/api/endpoints/room')
-rw-r--r--src/server/api/endpoints/room/show.ts2
-rw-r--r--src/server/api/endpoints/room/update.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/api/endpoints/room/show.ts b/src/server/api/endpoints/room/show.ts
index 2dc69210a0..96248a8c0c 100644
--- a/src/server/api/endpoints/room/show.ts
+++ b/src/server/api/endpoints/room/show.ts
@@ -13,7 +13,7 @@ export const meta = {
tags: ['room'],
- requireCredential: false,
+ requireCredential: false as const,
params: {
userId: {
diff --git a/src/server/api/endpoints/room/update.ts b/src/server/api/endpoints/room/update.ts
index 97586eb6f3..c2955f625b 100644
--- a/src/server/api/endpoints/room/update.ts
+++ b/src/server/api/endpoints/room/update.ts
@@ -4,7 +4,7 @@ import define from '../../define';
import { Users, UserProfiles } from '../../../../models';
export const meta = {
- requireCredential: true,
+ requireCredential: true as const,
params: {
room: {