Skip to content

Commit

Permalink
edit: fixed wrong update response
Browse files Browse the repository at this point in the history
Took 4 minutes
  • Loading branch information
SirojiddinSaidmurodov committed Nov 21, 2020
1 parent 9f22cd8 commit 83ce228
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ public Meal update(long id, Meal entity) {
if (updateRows == 0) {
return null;
} else {
entity.setId(id);
return entity;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ public OrderItem update(long id, OrderItem entity) {
if (rows == 0) {
return null;
} else {
entity.setId(id);
return entity;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ public Order update(long id, Order entity) {
if (rows == 0) {
return null;
} else {
entity.setId(id);
return entity;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public User update(long id, User entity) {
if (rows == 0) {
return null;
} else {
entity.setId(id);
return entity;
}
}
Expand Down

0 comments on commit 83ce228

Please sign in to comment.