Skip to content

Commit

Permalink
limit the amount of required keys to minimum requirements instead of …
Browse files Browse the repository at this point in the history
…everything
  • Loading branch information
saltydk committed Jun 10, 2024
1 parent 0882f65 commit 24e2dcf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions sb.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,7 @@

def validate_structure(data):
required_keys = {
"apprise": [],
"cloudflare": ["api", "email"],
"dockerhub": ["token", "user"],
"plex": ["pass", "user"],
"user": ["domain", "email", "name", "pass", "ssh_key"]
"user": ["domain", "email", "name", "pass"]
}

for key, subkeys in required_keys.items():
Expand Down

0 comments on commit 24e2dcf

Please sign in to comment.