summaryrefslogtreecommitdiff
path: root/src/server/api/openapi
diff options
context:
space:
mode:
authorsyuilo <Syuilotan@yahoo.co.jp>2020-02-15 23:13:59 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2020-02-15 23:13:59 +0900
commit6f7832c09b6502c2e077cabc7f8686b47d97d083 (patch)
treea8b45b2f2166775d2ce58aa6f4c8667d496e3aa6 /src/server/api/openapi
parentUpdate trend.ts (diff)
downloadsharkey-6f7832c09b6502c2e077cabc7f8686b47d97d083.tar.gz
sharkey-6f7832c09b6502c2e077cabc7f8686b47d97d083.tar.bz2
sharkey-6f7832c09b6502c2e077cabc7f8686b47d97d083.zip
API doc
Diffstat (limited to 'src/server/api/openapi')
-rw-r--r--src/server/api/openapi/description.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/openapi/description.ts b/src/server/api/openapi/description.ts
index 9006dfbfa4..a4b79d9502 100644
--- a/src/server/api/openapi/description.ts
+++ b/src/server/api/openapi/description.ts
@@ -16,7 +16,7 @@ export function kinds() {
endpoints: [],
descs: fromEntries(
Object.keys(locale)
- .map(l => [l, locale[l].common.permissions[k] as string] as [string, string])
+ .map(l => [l, locale[l]._permissions[k] as string] as [string, string])
) as { [x: string]: string; }
}] as [ string, IKindInfo ])
) as { [x: string]: IKindInfo; };