Update api definitions
This commit is contained in:
parent
aacfb5e221
commit
16726789da
66 changed files with 586 additions and 156 deletions
|
@ -5,9 +5,17 @@ import DriveFile from '../../../../models/drive-file';
|
|||
import acceptAllFollowRequests from '../../../../services/following/requests/accept-all';
|
||||
import { IApp } from '../../../../models/app';
|
||||
|
||||
/**
|
||||
* Update myself
|
||||
*/
|
||||
export const meta = {
|
||||
desc: {
|
||||
ja: 'アカウント情報を更新します。',
|
||||
en: 'Update myself'
|
||||
},
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'account-write'
|
||||
};
|
||||
|
||||
export default async (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