diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-12-14 13:31:17 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-12-14 13:31:17 +0900 |
| commit | aff688d9bf7f55a6f91a9b50f2dd6809f13683a1 (patch) | |
| tree | f7d43cd276a21f077d5a90fd2a6886e091ebbdf8 /src | |
| parent | Merge branch 'master' of https://github.com/syuilo/misskey (diff) | |
| download | sharkey-aff688d9bf7f55a6f91a9b50f2dd6809f13683a1.tar.gz sharkey-aff688d9bf7f55a6f91a9b50f2dd6809f13683a1.tar.bz2 sharkey-aff688d9bf7f55a6f91a9b50f2dd6809f13683a1.zip | |
:v:
Diffstat (limited to 'src')
| -rw-r--r-- | src/api/endpoints/posts/create.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/api/endpoints/posts/create.ts b/src/api/endpoints/posts/create.ts index ae4959dae4..7270efaf71 100644 --- a/src/api/endpoints/posts/create.ts +++ b/src/api/endpoints/posts/create.ts @@ -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 |