Skip to content

Commit

Permalink
orgs api uptake for twilio csharp
Browse files Browse the repository at this point in the history
  • Loading branch information
AsabuHere committed Jul 23, 2024
1 parent 0541dc7 commit c4eee19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/com/twilio/oai/common/Utility.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public Optional<CodegenModel> getModel(final List<CodegenModel> models,
.map(CodegenProperty::getComplexType)
.map(classname -> getModelByClassname(models, classname))
.findFirst()
.orElse(null);
.orElseThrow();
}

return getModelByClassname(models, className);
Expand Down

0 comments on commit c4eee19

Please sign in to comment.