Update api definitions
This commit is contained in:
parent
aacfb5e221
commit
16726789da
66 changed files with 586 additions and 156 deletions
|
|
@ -2,6 +2,11 @@ import $ from 'cafy';
|
|||
import User, { ILocalUser } from '../../../../models/user';
|
||||
import event from '../../../../stream';
|
||||
|
||||
export const meta = {
|
||||
requireCredential: true,
|
||||
secure: true
|
||||
};
|
||||
|
||||
export default async (params: any, user: ILocalUser) => new Promise(async (res, rej) => {
|
||||
// Get 'home' parameter
|
||||
const [home, homeErr] = $.arr($.obj({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue