Skip to content

Commit

Permalink
PIN-4337: Fix uuid conversion in projection
Browse files Browse the repository at this point in the history
  • Loading branch information
galales committed Dec 19, 2023
1 parent 3d8f28b commit 97979eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ object ClientCqrsProjection {
Updates.push("data.users", rId.toString)
)
case UserRemoved(cId, rId) =>
ActionWithBson(collection.updateOne(Filters.eq("data.id", cId), _), Updates.pull("data.users", rId))
ActionWithBson(collection.updateOne(Filters.eq("data.id", cId), _), Updates.pull("data.users", rId.toString))
case ClientPurposeAdded(cId, states) =>
// Added as array instead of map because it is not possible to update objects without knowing their key
ActionWithBson(
Expand Down

0 comments on commit 97979eb

Please sign in to comment.