From 561c3b8448cec999ace0e65befbb4bc983ded210 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 1 Nov 2017 05:02:06 +0900 Subject: [PATCH] Oops --- src/api/endpoints/posts/create.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/api/endpoints/posts/create.ts b/src/api/endpoints/posts/create.ts index 43b503b98..2bb1a7af1 100644 --- a/src/api/endpoints/posts/create.ts +++ b/src/api/endpoints/posts/create.ts @@ -228,7 +228,6 @@ module.exports = (params, user: IUser, app) => new Promise(async (res, rej) => { // ----------------------------------------------------------- // Post processes - User.update({ _id: user._id }, { $set: { latest_post: post