Skip to content

Commit

Permalink
updated mongo query field
Browse files Browse the repository at this point in the history
Signed-off-by: Saranya-jena <[email protected]>
  • Loading branch information
Saranya-jena committed Jul 19, 2023
1 parent 3baffad commit 8d42600
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chaoscenter/authentication/pkg/project/repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func (r repository) GetProjectsByUserID(userID string, isOwner bool) ([]*entitie
}}}
} else {
query = bson.D{
{"removed_at", ""},
{"is_removed", false},
{"members", bson.D{
{"$elemMatch", bson.D{
{"user_id", userID},
Expand Down

0 comments on commit 8d42600

Please sign in to comment.