mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-21 00:23:53 -04:00
Handling template content size error. All tests passing.
This commit is contained in:
@@ -39,7 +39,7 @@ class UserApiClient(BaseAPIClient):
|
||||
try:
|
||||
return self.get_user_by_email(email_address)
|
||||
except HTTPError as e:
|
||||
if HTTPError.status_code == 404:
|
||||
if e.status_code == 404:
|
||||
return None
|
||||
|
||||
def get_users(self):
|
||||
|
||||
Reference in New Issue
Block a user