Skip to content

Commit

Permalink
Merge pull request #1957 from Netflix/ejd-change-kotlin-nullability
Browse files Browse the repository at this point in the history
GraphQLResponse.getRequestDetails should return nullable
  • Loading branch information
Emily authored Jul 11, 2024
2 parents 9ba8f7a + 6344cee commit 688a5db
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ data class GraphQLResponse(
* Extracts RequestDetails from the response if available.
* Returns null otherwise.
*/
fun getRequestDetails(): RequestDetails {
fun getRequestDetails(): RequestDetails? {
return extractValueAsObject("gatewayRequestDetails", RequestDetails::class.java)
}

Expand Down

0 comments on commit 688a5db

Please sign in to comment.