Skip to content

Commit

Permalink
fix: Illegal chars replace
Browse files Browse the repository at this point in the history
  • Loading branch information
cap-ang committed Dec 18, 2024
1 parent f94a0df commit 4e3c9a6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public boolean updateStatusToPaying(RPTContentDTO rptContentDTO) {
}

public Optional<RTEntity> findById(String domainId, String iuv, String ccp) {
String id = String.format("%s_%s_%s", domainId, iuv, ccp);
String id = getId(domainId, iuv, ccp);
// Remove illegal characters ['/', '\', '#'] because cannot be used in Resource ID
return rtRepository.findById(id, new PartitionKey(id));
}
Expand Down

0 comments on commit 4e3c9a6

Please sign in to comment.