diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-08-24 07:23:04 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-08-24 07:23:04 +0900 |
| commit | b21287262e85e3e09e19217ba4168b83e4fdf4a7 (patch) | |
| tree | ae8c39fb95f2494d4d19cb39100955f532681c05 /src/server/api | |
| parent | Add missing changelog (diff) | |
| download | sharkey-b21287262e85e3e09e19217ba4168b83e4fdf4a7.tar.gz sharkey-b21287262e85e3e09e19217ba4168b83e4fdf4a7.tar.bz2 sharkey-b21287262e85e3e09e19217ba4168b83e4fdf4a7.zip | |
チャート取得APIを誰でも利用できるようにするなど
Diffstat (limited to 'src/server/api')
| -rw-r--r-- | src/server/api/endpoints/chart.ts (renamed from src/server/api/endpoints/admin/chart.ts) | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/server/api/endpoints/admin/chart.ts b/src/server/api/endpoints/chart.ts index 1b88af00bd..a58f0b163e 100644 --- a/src/server/api/endpoints/admin/chart.ts +++ b/src/server/api/endpoints/chart.ts @@ -1,10 +1,8 @@ -import Stats, { IStats } from '../../../../models/stats'; +import Stats, { IStats } from '../../../models/stats'; type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>; export const meta = { - requireCredential: true, - requireAdmin: true }; export default (params: any) => new Promise(async (res, rej) => { |