1
1
mirror of https://github.com/kokonect-link/cherrypick synced 2024-12-12 13:48:28 +09:00

[API] Fix bug

This commit is contained in:
syuilo 2017-01-21 21:12:12 +09:00
parent 5da436a285
commit a9a763f8c4

View File

@ -14,8 +14,8 @@ module.exports = (app: express.Application) => {
const user = await User.findOneAndUpdate({
token: res.locals.user
}, {
$unset: {
twitter: ''
$set: {
twitter: null
}
});