Improve docs
This commit is contained in:
parent
1e921a9fd5
commit
168d13d6e6
5 changed files with 26 additions and 11 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue