Skip to content
Snippets Groups Projects
Commit a9a763f8 authored by syuilo's avatar syuilo
Browse files

[API] Fix bug

parent 5da436a2
No related branches found
No related tags found
No related merge requests found
......@@ -14,8 +14,8 @@ module.exports = (app: express.Application) => {
const user = await User.findOneAndUpdate({
token: res.locals.user
}, {
$unset: {
twitter: ''
$set: {
twitter: null
}
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment