1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-24 17:51:14 +02:00

Remove helper method

This commit is contained in:
Gastón Fournier 2025-09-23 16:35:10 +02:00
parent 72fe30f479
commit ea58534e90
No known key found for this signature in database
GPG Key ID: AF45428626E17A8E

View File

@ -352,13 +352,4 @@ export class UserStore implements IUserStore {
return firstInstanceUser ? firstInstanceUser.created_at : null;
}
// this is temporary to find out how many cases we have
async findDeletedUsersWithEmail(): Promise<User[]> {
return this.db(TABLE)
.select('*')
.whereNotNull('deleted_at')
.andWhereRaw('length(email) > 0')
.then((rows) => rows.map(rowToUser));
}
}