forked from FoundKeyGang/FoundKey
This commit is contained in:
parent
c0144db75c
commit
71d9c2a53d
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