summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/notes/reactions
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/notes/reactions
parent:art: (diff)
downloadsharkey-43734f027ba45dbc1d756d6b4e13dcd59f420ac2.tar.gz
sharkey-43734f027ba45dbc1d756d6b4e13dcd59f420ac2.tar.bz2
sharkey-43734f027ba45dbc1d756d6b4e13dcd59f420ac2.zip
Refactoring
Diffstat (limited to 'src/server/api/endpoints/notes/reactions')
-rw-r--r--src/server/api/endpoints/notes/reactions/create.ts2
-rw-r--r--src/server/api/endpoints/notes/reactions/delete.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/api/endpoints/notes/reactions/create.ts b/src/server/api/endpoints/notes/reactions/create.ts
index b6aa4c58f3..eab1dfde7c 100644
--- a/src/server/api/endpoints/notes/reactions/create.ts
+++ b/src/server/api/endpoints/notes/reactions/create.ts
@@ -15,7 +15,7 @@ export const meta = {
tags: ['reactions', 'notes'],
- requireCredential: true,
+ requireCredential: true as const,
kind: 'write:reactions',
diff --git a/src/server/api/endpoints/notes/reactions/delete.ts b/src/server/api/endpoints/notes/reactions/delete.ts
index 0bdea58027..267d8417c2 100644
--- a/src/server/api/endpoints/notes/reactions/delete.ts
+++ b/src/server/api/endpoints/notes/reactions/delete.ts
@@ -14,7 +14,7 @@ export const meta = {
tags: ['reactions', 'notes'],
- requireCredential: true,
+ requireCredential: true as const,
kind: 'write:reactions',