diff --git a/app/celery/process_pinpoint_receipts_tasks.py b/app/celery/process_pinpoint_receipts_tasks.py index b3e0edac52..e2f272e935 100644 --- a/app/celery/process_pinpoint_receipts_tasks.py +++ b/app/celery/process_pinpoint_receipts_tasks.py @@ -142,9 +142,9 @@ def determine_pinpoint_status(status: str, provider_response: str) -> Union[str, return NOTIFICATION_TECHNICAL_FAILURE case response_lower if "exceed max price" in response_lower: return NOTIFICATION_TECHNICAL_FAILURE - case "Phone carrier is currently unreachable/unavailable": + case "phone carrier is currently unreachable/unavailable": return NOTIFICATION_TEMPORARY_FAILURE - case "Phone is currently unreachable/unavailable": + case "phone is currently unreachable/unavailable": return NOTIFICATION_PERMANENT_FAILURE return None