mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 07:21:13 -05:00
fix invite text
This commit is contained in:
@@ -165,7 +165,7 @@ def validate_invitation_token(token):
|
||||
)
|
||||
except SignatureExpired:
|
||||
errors = {
|
||||
"invitation": "Your invitation to GOV.UK Notify has expired. "
|
||||
"invitation": "Your invitation to Notify.gov has expired. "
|
||||
"Please ask the person that invited you to send you another one"
|
||||
}
|
||||
raise InvalidRequest(errors, status_code=400)
|
||||
|
||||
@@ -202,7 +202,7 @@ def validate_service_invitation_token(token):
|
||||
)
|
||||
except SignatureExpired:
|
||||
errors = {
|
||||
"invitation": "Your invitation to GOV.UK Notify has expired. "
|
||||
"invitation": "Your invitation to Notify.gov has expired. "
|
||||
"Please ask the person that invited you to send you another one"
|
||||
}
|
||||
raise InvalidRequest(errors, status_code=400)
|
||||
|
||||
Reference in New Issue
Block a user