Table names in getCookies

This commit is contained in:
Imbus 2024-05-04 13:40:31 +02:00
parent 25f5dd151d
commit d52e1507d7

View file

@ -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;
}