From 236d0d43b5e8b84d741837b21dfcbde639c83f05 Mon Sep 17 00:00:00 2001 From: Ivan Bogosavljevic Date: Wed, 17 Apr 2024 10:17:28 +0200 Subject: [PATCH] =?UTF-8?q?getCustomers=20testet=20fungerar=20nu,=20title?= =?UTF-8?q?=20ska=20vara=20customers=20f=C3=B6r=20testet=20letar=20efter?= =?UTF-8?q?=20just=20det=20ordet?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/krusty/Database.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/krusty/Database.java b/src/main/java/krusty/Database.java index 978dcb2..c195c06 100644 --- a/src/main/java/krusty/Database.java +++ b/src/main/java/krusty/Database.java @@ -45,7 +45,7 @@ public class Database { public String getCustomers(Request req, Response res) { String query = "SELECT name, address FROM Customer"; - String title = "Customer"; + String title = "customers"; //ändra inte det är till för testet, söker efter just "customers" små bokstäver return getJson(query, title);