Skip to content

Commit 2c5ff75

Browse files
committed
update false postiive label
1 parent 89f3711 commit 2c5ff75

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/routes/email_routes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def fetch_emails_to_db(user: AuthenticatedUser, request: Request, last_updated:
255255
logger.info(
256256
f"user_id:{user_id} successfully extracted email {idx + 1} of {len(messages)} with id {msg_id}"
257257
)
258-
if result.get("job_application_status").lower() == "false positive, not related to job search":
258+
if result.get("job_application_status").lower().strip() == "false positive":
259259
logger.info(
260260
f"user_id:{user_id} email {idx + 1} of {len(messages)} with id {msg_id} is a false positive, not related to job search"
261261
)

0 commit comments

Comments
 (0)