Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-jams
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-jams
Commits
ca5b4aaa
Commit
ca5b4aaa
authored
1 year ago
by
Léo Banno-Cloutier
Browse files
Options
Downloads
Patches
Plain Diff
fix: reorder arguments in GroupDao.updateObject
Change-Id: I47886652d699d19e98e3817195fd7b39138f70d4
parent
76c44a88
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
datastore/src/main/java/net/jami/datastore/dao/GroupDao.java
+1
-1
1 addition, 1 deletion
datastore/src/main/java/net/jami/datastore/dao/GroupDao.java
with
1 addition
and
1 deletion
datastore/src/main/java/net/jami/datastore/dao/GroupDao.java
+
1
−
1
View file @
ca5b4aaa
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment