Skip to content

Commit

Permalink
Merge pull request #3332 from DedunuKarunarathne/mongo1
Browse files Browse the repository at this point in the history
Fix DS Fault Message: Unknown MongoDB operation
  • Loading branch information
arunans23 authored Jun 19, 2024
2 parents 1ed0699 + bbc4857 commit 2206450
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public String getExpression() {
}

private Object[] decodeQuery(String query) throws DataServiceFault {
int i1 = query.indexOf('.');
int i1 = query.lastIndexOf('.');
if (i1 == -1) {
throw new DataServiceFault("The MongoDB Collection not specified in the query '" + query + "'");
}
Expand Down

0 comments on commit 2206450

Please sign in to comment.