From d52e1507d7fd01e750fd33237a40854d24e2a73d Mon Sep 17 00:00:00 2001 From: Imbus <> Date: Sat, 4 May 2024 13:40:31 +0200 Subject: [PATCH] Table names in getCookies --- app/src/main/java/krusty/Database.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/krusty/Database.java b/app/src/main/java/krusty/Database.java index e14a4e5..3873eef 100644 --- a/app/src/main/java/krusty/Database.java +++ b/app/src/main/java/krusty/Database.java @@ -40,7 +40,7 @@ public class Database { } public String getCookies(Request req, Response res) { - String result = selectQuery("recipes", "cookies", "recipe_name"); + String result = selectQuery("cookies", "cookies", "recipe_name"); result = result.replaceAll("recipe_name", "name"); return result; }