diff --git a/services/email_manager.py b/services/email_manager.py index 8cb3169..ddd57a1 100644 --- a/services/email_manager.py +++ b/services/email_manager.py @@ -44,10 +44,6 @@ class EmailManager: SELECT id, email, password, client_id, refresh_token FROM email_accounts WHERE in_use = 0 AND sold = 0 AND status = 'pending' - AND email NOT IN ( - SELECT email FROM email_accounts - WHERE status = 'success' OR status = 'unavailable' - ) LIMIT %s """ accounts = await self.db.fetch_all(select_query, (num,)) @@ -129,10 +125,6 @@ class EmailManager: SELECT COUNT(*) FROM email_accounts WHERE status = 'pending' AND in_use = 0 AND sold = 0 - AND email NOT IN ( - SELECT email FROM email_accounts - WHERE status = 'success' OR status = 'unavailable' - ) """ result = await self.db.fetch_one(query) if result: