Skip to content

Commit

Permalink
Merge pull request #41 from AO-StreetArt/objectSaveFixes
Browse files Browse the repository at this point in the history
Ensure we send either an update or a create to CLyman, not both
  • Loading branch information
AO-StreetArt committed Mar 2, 2018
2 parents b052b50 + 3bb5ef8 commit cb4adf9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/adrestia/controller/obj3/ObjectController.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ public class ObjectController {
private ObjectList saveObject(ObjectDocument inpDoc, boolean docExists) {
if (docExists) {
return objData.update(inpDoc);
} else {
return objData.create(inpDoc);
}
return objData.create(inpDoc);
}

// Query Clyman
Expand Down

0 comments on commit cb4adf9

Please sign in to comment.