チャート取得APIを誰でも利用できるようにするなど
This commit is contained in:
parent
c1b47a2119
commit
b21287262e
3 changed files with 8 additions and 14 deletions
|
@ -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) => {
|
Loading…
Add table
Add a link
Reference in a new issue