mirror of
https://github.com/MisskeyIO/misskey
synced 2024-11-27 14:28:49 +09:00
wip
This commit is contained in:
parent
71065077f6
commit
63b930e9fd
@ -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
|
||||
|
@ -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`;
|
||||
|
||||
|
@ -56,7 +56,7 @@ process.on('message', async msg => {
|
||||
}
|
||||
});
|
||||
|
||||
post = res.created_post;
|
||||
post = res.createdPost;
|
||||
//#endregion
|
||||
}
|
||||
|
||||
|
@ -45,7 +45,7 @@ params:
|
||||
en: "Choices of a poll"
|
||||
|
||||
res:
|
||||
- name: "created_post"
|
||||
- name: "createdPost"
|
||||
type: "entity(Post)"
|
||||
optional: false
|
||||
desc:
|
||||
|
Loading…
Reference in New Issue
Block a user