mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-23 17:39:13 -04:00
Using StrEnum to drop .value
This commit is contained in:
@@ -2,9 +2,9 @@ from app.notify_client import NotifyAdminAPIClient, _attach_current_user
|
||||
from app.enums import ApiKeyType
|
||||
|
||||
# must match key types in notifications-api/app/models.py
|
||||
KEY_TYPE_NORMAL = ApiKeyType.NORMAL.value
|
||||
KEY_TYPE_TEAM = ApiKeyType.TEAM.value
|
||||
KEY_TYPE_TEST = ApiKeyType.TEST.value
|
||||
KEY_TYPE_NORMAL = ApiKeyType.NORMAL
|
||||
KEY_TYPE_TEAM = ApiKeyType.TEAM
|
||||
KEY_TYPE_TEST = ApiKeyType.TEST
|
||||
|
||||
|
||||
class ApiKeyApiClient(NotifyAdminAPIClient):
|
||||
|
||||
Reference in New Issue
Block a user