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:
parent
72fe30f479
commit
ea58534e90
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user