Table names in getCookies
This commit is contained in:
parent
25f5dd151d
commit
d52e1507d7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue