Skip to content

Commit de09f34

Browse files
committed
Any -> Any?
1 parent aa1578e commit de09f34

File tree

1 file changed

+1
-1
lines changed
  • src/main/kotlin/com/coxautodev/graphql/tools

1 file changed

+1
-1
lines changed

src/main/kotlin/com/coxautodev/graphql/tools/Utils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ internal fun JavaType.unwrap(): Class<out Any> =
3838
}
3939

4040
internal fun DataFetchingEnvironment.coroutineScope(): CoroutineScope {
41-
val context: Any = this.getContext()
41+
val context: Any? = this.getContext()
4242
return if (context is CoroutineScope) context else GlobalScope
4343
}

0 commit comments

Comments
 (0)