fix(fastapi): support "Account Type:" input for account edit

Signed-off-by: Kevin Morris <kevr@0cost.org>
This commit is contained in:
Kevin Morris 2021-10-25 21:56:15 -07:00
parent 7e7a1ead88
commit 65be8b8e07
No known key found for this signature in database
GPG key ID: F7E46DED420788F3
4 changed files with 153 additions and 5 deletions

View file

@ -47,3 +47,6 @@ ACCOUNT_TYPE_ID = {
DEVELOPER: DEVELOPER_ID,
TRUSTED_USER_AND_DEV: TRUSTED_USER_AND_DEV_ID
}
# Reversed ACCOUNT_TYPE_ID mapping.
ACCOUNT_TYPE_NAME = {v: k for k, v in ACCOUNT_TYPE_ID.items()}