fix: actually load porkbun secrets
This commit is contained in:
parent
ee63f01e0f
commit
300708ad63
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ def config_parse_secret(raw: Any) -> Secret:
|
|||
if type(raw) is str:
|
||||
return raw
|
||||
if type(raw) is dict:
|
||||
for k, v in raw:
|
||||
for k, v in raw.items():
|
||||
if type(k) is not str:
|
||||
raise TypeError(f'invalid type for secret name: expected str, got {type(k).__name__}')
|
||||
if type(v) is not str:
|
||||
|
|
Loading…
Reference in a new issue