mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-23 12:01:27 +00:00
forgot "?"
This commit is contained in:
parent
6b433f3928
commit
fcb78ab487
|
@ -25,7 +25,7 @@ in
|
|||
api = {
|
||||
token = jsonData.api.token;
|
||||
enableSwagger = (
|
||||
if (jsonData ? "api" && jsonData.api "enableSwagger")
|
||||
if (jsonData ? "api" && jsonData.api ? "enableSwagger")
|
||||
then jsonData.api.enableSwagger
|
||||
else false
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue