Remove real database in favour of simulated

This commit is contained in:
Marek Wolan
2023-11-18 03:40:08 +00:00
parent 815bdfe603
commit 77f3806ba7
9 changed files with 53 additions and 102 deletions

View File

@@ -106,7 +106,7 @@ class WebServer(Service):
# get data from DatabaseServer
db_client: DatabaseClient = self.software_manager.software["DatabaseClient"]
# get all users
if db_client.query("SELECT * FROM user;"):
if db_client.query("SELECT"):
# query succeeded
response.status_code = HttpStatusCode.OK