This commit is contained in:
syuilo 2021-11-05 17:59:46 +09:00
parent c0144db75c
commit 71d9c2a53d

View file

@ -15,7 +15,7 @@ export async function deleteActor(actor: IRemoteUser, uri: string): Promise<stri
if (actor.isDeleted) { if (actor.isDeleted) {
logger.info(`skip: already deleted`); logger.info(`skip: already deleted`);
} }
/*
const job = await createDeleteAccountJob(actor); const job = await createDeleteAccountJob(actor);
await Users.update(actor.id, { await Users.update(actor.id, {
@ -23,4 +23,7 @@ export async function deleteActor(actor: IRemoteUser, uri: string): Promise<stri
}); });
return `ok: queued ${job.name} ${job.id}`; return `ok: queued ${job.name} ${job.id}`;
*/
return `skip: account deletion temporaly disabled`;
} }