Skip to content
Snippets Groups Projects
Commit ca5b4aaa authored by Léo Banno-Cloutier's avatar Léo Banno-Cloutier
Browse files

fix: reorder arguments in GroupDao.updateObject

Change-Id: I47886652d699d19e98e3817195fd7b39138f70d4
parent 76c44a88
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ public class GroupDao extends AbstractDao<Group> {
public boolean updateObject(String id, String name, String blueprint) {
String query = "UPDATE groups SET name = ?, blueprint = ? WHERE id = ?";
return executeUpdate(query, List.of(id, name, blueprint));
return executeUpdate(query, List.of(name, blueprint, id));
}
public boolean deleteObject(String id) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment