Skip to content

Commit 918de3a

Browse files
committed
Adjust Functions getters to be Kotlin source compatible
1 parent f1c75df commit 918de3a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

firebase-functions/src/main/java/com/google/firebase/functions/HttpsCallableResult.kt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,12 @@ package com.google.firebase.functions
1616
/** The result of calling a HttpsCallableReference function. */
1717
public class HttpsCallableResult
1818
internal constructor( // The actual result data, as generic types decoded from JSON.
19-
private val data: Any?) {
2019
/**
21-
* Returns the data that was returned from the Callable HTTPS trigger.
20+
* The data that was returned from the Callable HTTPS trigger.
2221
*
2322
* The data is in the form of native Java objects. For example, if your trigger returned an array,
2423
* this object would be a List<Object>. If your trigger returned a JavaScript object with keys and
2524
* values, this object would be a Map<String, Object>.
2625
*/
27-
public fun getData(): Any? {
28-
return data
29-
}
30-
}
26+
public val data: Any?
27+
) {}

0 commit comments

Comments
 (0)