アカウントが削除できない問題を修正

This commit is contained in:
syuilo 2019-02-26 11:42:21 +09:00
parent 022f5a18c8
commit 8a9dc26419
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -29,7 +29,6 @@ export default define(meta, async (ps, user) => {
await User.update({ _id: user._id }, { await User.update({ _id: user._id }, {
$set: { $set: {
isDeleted: true, isDeleted: true,
token: null,
name: null, name: null,
description: null, description: null,
pinnedNoteIds: [], pinnedNoteIds: [],