aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDaniel GarcĂ­a <[email protected]>2024-06-23 21:31:02 +0200
committerGitHub <[email protected]>2024-06-23 21:31:02 +0200
commita2bf8def2a34d0c362115c5964846d0ee2ef311f (patch)
tree1e446026b5bb0e896144e7af280074321cf9791b /tools
parent8f05a90b96adfe06722d01510923759fe61a8bd6 (diff)
downloadvaultwarden-a2bf8def2a34d0c362115c5964846d0ee2ef311f.tar.gz
vaultwarden-a2bf8def2a34d0c362115c5964846d0ee2ef311f.zip
Change API and structs to camelCase (#4386)
* Change API inputs/outputs and structs to camelCase * Fix fields and password history * Use convert_json_key_lcase_first * Make sends lowercase * Update admin and templates * Update org revoke * Fix sends expecting size to be a string on mobile * Convert two-factor providers to string
Diffstat (limited to 'tools')
-rwxr-xr-xtools/global_domains.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/global_domains.py b/tools/global_domains.py
index bd1df58d..66edca31 100755
--- a/tools/global_domains.py
+++ b/tools/global_domains.py
@@ -71,9 +71,9 @@ with urllib.request.urlopen(DOMAIN_LISTS_URL) as response:
global_domains = []
for name, domain_list in domain_lists.items():
entry = OrderedDict()
- entry["Type"] = enums[name]
- entry["Domains"] = domain_list
- entry["Excluded"] = False
+ entry["type"] = enums[name]
+ entry["domains"] = domain_list
+ entry["excluded"] = False
global_domains.append(entry)
# Write out the global domains JSON file.