mirror of
https://github.com/documenso/documenso.git
synced 2026-08-25 15:52:29 +10:00
fix: lint project (#2693)
This commit is contained in:
@@ -40,9 +40,7 @@ export const deletedAccountServiceAccount = async () => {
|
||||
});
|
||||
|
||||
if (!serviceAccount) {
|
||||
throw new Error(
|
||||
'Deleted account service account not found, have you ran the appropriate migrations?',
|
||||
);
|
||||
throw new Error('Deleted account service account not found, have you ran the appropriate migrations?');
|
||||
}
|
||||
|
||||
return serviceAccount;
|
||||
@@ -50,9 +48,7 @@ export const deletedAccountServiceAccount = async () => {
|
||||
|
||||
export const migrateDeletedAccountServiceAccount = async () => {
|
||||
if (deletedServiceAccountEmail() !== LEGACY_DELETED_ACCOUNT_EMAIL) {
|
||||
console.log(
|
||||
`Migrating deleted account service account to new email: ${deletedServiceAccountEmail()}`,
|
||||
);
|
||||
console.log(`Migrating deleted account service account to new email: ${deletedServiceAccountEmail()}`);
|
||||
|
||||
await prisma.user.updateMany({
|
||||
where: {
|
||||
|
||||
Reference in New Issue
Block a user