Skip to content

Commit

Permalink
linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
darwin67 committed Feb 22, 2024
1 parent b32bc45 commit e5aa187
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions inngest-core/src/main/kotlin/com/inngest/Comm.kt
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,10 @@ class CommHandler(val functions: HashMap<String, InngestFunction>) {
private fun getHeaders(): Map<String, String> {
return mapOf(
"Content-Type" to "application/json",
"x-inngest-sdk" to "inngest-kt:v0.0.1", // TODO - Get this from the build
"x-inngest-framework" to "ktor", // TODO - Pull this from options
// TODO - Get this from the build
"x-inngest-sdk" to "inngest-kt:v0.0.1",
// TODO - Pull this from options
"x-inngest-framework" to "ktor",
)
}

Expand Down
2 changes: 1 addition & 1 deletion inngest-core/src/main/kotlin/com/inngest/Function.kt
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ open class InngestFunction(
id = "step",
name = "step",
retries =
// TODO - Pull from FunctionOptions
mapOf(
// TODO - Pull from FunctionOptions
"attempts" to 3,
),
runtime =
Expand Down

0 comments on commit e5aa187

Please sign in to comment.