This commit is contained in:
parent
42151bca5e
commit
5b6146ea04
1 changed files with 4 additions and 1 deletions
|
@ -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`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue