We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e811cbc commit 671af2cCopy full SHA for 671af2c
src/cmdb/core/auth.py
@@ -4,7 +4,7 @@
4
def build_api_key(key: str, secret: str, path: str, params: dict) -> dict:
5
values = [
6
str(params[k]) for k in sorted(params.keys())
7
- if (k not in ("_key", "_secret") and not isinstance(params[k], (dict, list)))
+ if (k not in ("_key", "_secret") and not isinstance(params[k], (dict, list)) and params[k] is not None)
8
]
9
values = "".join(values) or ""
10
_secret = "".join([path, secret, values]).encode("utf-8")
0 commit comments