Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
albertchae committed Nov 7, 2024
1 parent e4a9771 commit a317066
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion inngest/src/main/kotlin/com/inngest/State.kt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@ class State(
return null
}

private fun <T> deserializeStepData(serializedStepData: JsonNode?, type: Class<T>): T? {
private fun <T> deserializeStepData(
serializedStepData: JsonNode?,
type: Class<T>,
): T? {
val mapper = ObjectMapper()
if (serializedStepData == null || !serializedStepData.isObject || !serializedStepData.has("class")) {
// null and primitives can be deserialized directly
Expand Down

0 comments on commit a317066

Please sign in to comment.