Improve docs

This commit is contained in:
syuilo
2018-07-16 06:19:19 +09:00
parent 1e921a9fd5
commit 168d13d6e6
5 changed files with 26 additions and 11 deletions

View File

@ -1,9 +1,16 @@
import User, { pack, ILocalUser } from '../../../models/user';
import { IApp } from '../../../models/app';
/**
* Show myself
*/
export const meta = {
desc: {
ja: '自分のアカウント情報を取得します。'
},
requireCredential: true,
params: {}
};
export default (params: any, user: ILocalUser, app: IApp) => new Promise(async (res, rej) => {
const isSecure = user != null && app == null;