diff --git a/inngest/src/main/kotlin/com/inngest/InngestFunctionTriggers.kt b/inngest/src/main/kotlin/com/inngest/InngestFunctionTriggers.kt index 665c5f19..fbe0913d 100644 --- a/inngest/src/main/kotlin/com/inngest/InngestFunctionTriggers.kt +++ b/inngest/src/main/kotlin/com/inngest/InngestFunctionTriggers.kt @@ -9,7 +9,7 @@ abstract class InngestFunctionTrigger // or interface or data class @JvmOverloads constructor( @Json(serializeNull = false) val event: String? = null, - @Json(serializeNull = false) val `if`: String? = null, + @Json(serializeNull = false, name = "expression") val `if`: String? = null, @Json(serializeNull = false) val cron: String? = null, // IDEA - Add timeout and re-use for cancelOn? )