Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ internal constructor(
* @return The URL.
*/
@VisibleForTesting
fun getURL(function: String): URL {
internal fun getURL(function: String): URL {
val emulatorSettings = emulatorSettings
if (emulatorSettings != null) {
urlFormat =
Expand Down Expand Up @@ -173,7 +173,11 @@ internal constructor(
* @param data Parameters to pass to the function. Can be anything encodable as JSON.
* @return A Task that will be completed when the request is complete.
*/
fun call(name: String, data: Any?, options: HttpsCallOptions): Task<HttpsCallableResult> {
internal fun call(
name: String,
data: Any?,
options: HttpsCallOptions
): Task<HttpsCallableResult> {
return providerInstalled.task
.continueWithTask(executor) { task: Task<Void>? ->
contextProvider.getContext(options.limitedUseAppCheckTokens)
Expand All @@ -195,7 +199,7 @@ internal constructor(
* @param data Parameters to pass to the function. Can be anything encodable as JSON.
* @return A Task that will be completed when the request is complete.
*/
fun call(url: URL, data: Any?, options: HttpsCallOptions): Task<HttpsCallableResult> {
internal fun call(url: URL, data: Any?, options: HttpsCallOptions): Task<HttpsCallableResult> {
return providerInstalled.task
.continueWithTask(executor) { task: Task<Void>? ->
contextProvider.getContext(options.limitedUseAppCheckTokens)
Expand Down
Loading