mirror of
https://github.com/standardnotes/server
synced 2026-07-31 14:16:46 -04:00
fix(auth): remove redundant specs and fix stream query
This commit is contained in:
@@ -22,7 +22,10 @@ export class MySQLUserRepository implements UserRepositoryInterface {
|
||||
}
|
||||
|
||||
async streamAll(): Promise<ReadStream> {
|
||||
return this.ormRepository.createQueryBuilder('user').stream()
|
||||
return this.ormRepository
|
||||
.createQueryBuilder('user')
|
||||
.where('created_at < :createdAt', { createdAt: new Date().toISOString() })
|
||||
.stream()
|
||||
}
|
||||
|
||||
async streamTeam(memberEmail?: string): Promise<ReadStream> {
|
||||
|
||||
Reference in New Issue
Block a user