1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-27 14:28:59 +09:00
This commit is contained in:
syuilo 2018-03-28 17:00:28 +09:00
parent 71065077f6
commit 63b930e9fd
4 changed files with 4 additions and 4 deletions

View File

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

View File

@ -83,7 +83,7 @@ export const pack = (
delete _app.secret;
}
_app.icon_url = _app.icon != null
_app.iconUrl = _app.icon != null
? `${config.drive_url}/${_app.icon}`
: `${config.drive_url}/app-default.jpg`;

View File

@ -56,7 +56,7 @@ process.on('message', async msg => {
}
});
post = res.created_post;
post = res.createdPost;
//#endregion
}

View File

@ -45,7 +45,7 @@ params:
en: "Choices of a poll"
res:
- name: "created_post"
- name: "createdPost"
type: "entity(Post)"
optional: false
desc: