Skip to content

Commit 7627490

Browse files
Update lib/Controller/SettingsController.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ff7fdba commit 7627490

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/Controller/SettingsController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,10 @@ public function testSettings(string $tokenEndpoint, string $vaasUrl): JSONRespon
197197
}
198198

199199
public function getCache(): JSONResponse {
200-
return new JSONResponse(['status' => $this->config->getValueBool($this->appName, 'cache')]);
200+
return new JSONResponse(['status' => $this->config->getValueBool($this->appName, 'cache', true)]);
201201
}
202202

203203
public function getHashlookup(): JSONResponse {
204-
return new JSONResponse(['status' => $this->config->getValueBool($this->appName, 'hashlookup')]);
204+
return new JSONResponse(['status' => $this->config->getValueBool($this->appName, 'hashlookup', true)]);
205205
}
206206
}

0 commit comments

Comments
 (0)