Skip to content

Commit

Permalink
Update CustomRepository.java
Browse files Browse the repository at this point in the history
  • Loading branch information
ntqdinh-axonivy committed Sep 12, 2024
1 parent a518125 commit 1ffcf2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ protected Query createQueryById(String id) {
}

AggregationOperation createProjectAggregationBySingleFieldName(String fieldName) {
return Aggregation.project(MongoDBConstants.TAG);
return Aggregation.project(fieldName);
}

protected AggregationOperation createFieldMatchOperation(String fieldName, String id) {
Expand Down

0 comments on commit 1ffcf2e

Please sign in to comment.