Skip to content

Commit

Permalink
bug: fix ruby bug
Browse files Browse the repository at this point in the history
  • Loading branch information
manisha1997 committed Nov 21, 2024
1 parent fdba9ad commit c59d518
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/com/twilio/oai/api/RubyApiResourceBuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,7 @@ private void updateContextResourceDependents(Map<String, String> dependentsForOp
List<DirectoryStructureService.ContextResource> listObjs = (List<DirectoryStructureService.ContextResource>) listofContextResourceObjs;
if(listObjs != null) {
for (DirectoryStructureService.ContextResource cr : listObjs) {
String value = (dependentsForOperation.containsKey(cr.getFilename())) ? dependentsForOperation.get(cr.getFilename())
: dependentsForOperation.get(cr.getUrl());
String value = dependentsForOperation.get(cr.getUrl());
cr.setDependentProperties(value);
}
}
Expand Down

0 comments on commit c59d518

Please sign in to comment.