File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
androidMain/kotlin/dev/teamhub/firebase/functions
commonMain/kotlin/dev/teamhub/firebase/functions
jsMain/kotlin/dev/teamhub/firebase/functions Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ actual class HttpsCallableReference internal constructor(val android: com.google
32
32
actual suspend inline fun <reified T > call (data : T ) =
33
33
HttpsCallableResult (android.call(encode(data)).await())
34
34
35
- actual suspend inline fun <reified T > call (data : T , strategy : SerializationStrategy < T > ) =
35
+ actual suspend inline fun <reified T > call (strategy : SerializationStrategy < T >, data : T ) =
36
36
HttpsCallableResult (android.call(encode(strategy, data)).await())
37
37
}
38
38
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ expect class FirebaseFunctions {
14
14
expect class HttpsCallableReference {
15
15
@ImplicitReflectionSerializer
16
16
suspend inline fun <reified T > call (data : T ): HttpsCallableResult
17
- suspend inline fun <reified T > call (data : T , strategy : SerializationStrategy < T > ): HttpsCallableResult
17
+ suspend inline fun <reified T > call (strategy : SerializationStrategy < T >, data : T ): HttpsCallableResult
18
18
suspend fun call (): HttpsCallableResult
19
19
}
20
20
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ actual class HttpsCallableReference internal constructor(val js: firebase.functi
32
32
actual suspend inline fun <reified T > call (data : T ) =
33
33
rethrow { HttpsCallableResult (js(encode(data)).await()) }
34
34
35
- actual suspend inline fun <reified T > call (data : T , strategy : SerializationStrategy < T > ) =
35
+ actual suspend inline fun <reified T > call (strategy : SerializationStrategy < T >, data : T ) =
36
36
rethrow { HttpsCallableResult (js(encode(strategy, data)).await()) }
37
37
}
38
38
You can’t perform that action at this time.
0 commit comments