Skip to content

Commit

Permalink
Changing access of non-primary key to a primary key in Cassandra Query
Browse files Browse the repository at this point in the history
Changing access of  non-primary key to a primary key in Cassandra Query
  • Loading branch information
SaipradeepR authored Jul 6, 2024
1 parent ff346c9 commit d04b023
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public SBApiResponse fetchEhrmsProfileDetail(String userId, String authToken) {
SBApiResponse response = ProjectUtil.createDefaultResponse(Constants.EHRMS);
try {
Map<String, Object> propertyMap = new HashMap<>();
propertyMap.put(Constants.USER_ID_LOWER, userId);
propertyMap.put(Constants.ID, userId);
Map<String, Object> result = cassandraOperation.getRecordsByProperties(
Constants.KEYSPACE_SUNBIRD,
Constants.USER,
Expand Down Expand Up @@ -137,4 +137,4 @@ private Map<String, Object> prepareErrorResponse(String responseBodyString) {
}
return errResponseBody;
}
}
}

0 comments on commit d04b023

Please sign in to comment.