From 8f6b8d2f7832cd398570429840b941eaace0b5ab Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 21 Feb 2019 01:49:00 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=A2=E3=82=AB=E3=82=A6=E3=83=B3=E3=83=88?= =?UTF-8?q?=E5=89=8A=E9=99=A4=E6=99=82=E3=81=AB=E3=82=B5=E3=82=A4=E3=83=B3?= =?UTF-8?q?=E3=82=A4=E3=83=B3=E5=B1=A5=E6=AD=B4=E3=82=82=E5=89=8A=E9=99=A4?= =?UTF-8?q?=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/server/api/endpoints/i/delete-account.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/api/endpoints/i/delete-account.ts b/src/server/api/endpoints/i/delete-account.ts index a5e9bfd43..6cab3d139 100644 --- a/src/server/api/endpoints/i/delete-account.ts +++ b/src/server/api/endpoints/i/delete-account.ts @@ -4,6 +4,7 @@ import User from '../../../../models/user'; import define from '../../define'; import { createDeleteNotesJob, createDeleteDriveFilesJob } from '../../../../queue'; import Message from '../../../../models/messaging-message'; +import Signin from '../../../../models/signin'; export const meta = { requireCredential: true, @@ -44,6 +45,7 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => { }); Message.remove({ userId: user._id }); + Signin.remove({ userId: user._id }); createDeleteNotesJob(user); createDeleteDriveFilesJob(user);