This commit is contained in:
syuilo
2017-12-14 13:31:17 +09:00
parent 7d2bcf0577
commit aff688d9bf
3 changed files with 76 additions and 15 deletions

View File

@ -222,7 +222,9 @@ module.exports = (params, user: IUser, app) => new Promise(async (res, rej) => {
const postObj = await serialize(post);
// Reponse
res(postObj);
res({
created_post: postObj
});
//#region Post processes