Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit 07a0ad6

Browse files
cleanup
1 parent 3498114 commit 07a0ad6

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

demo/app/main-view-model.ts

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,15 @@ export class HelloWorldModel extends Observable {
200200
// see the implementation of this function @ https://github.com/EddyVerbruggen/nativescript-plugin-firebase/blob/ff95c77c7b09acf66654f53c52e8ae0c8d7b1c78/demo/firebasefunctions/functions/src/index.ts#L15-L19
201201
const fn = firebaseWebApi.functions().httpsCallable("helloName");
202202

203-
fn("Nativescript-Plugin-Firebase!").then(dataCue => {
204-
alert({
205-
title: "Callable Function Result",
206-
message: dataCue.message,
207-
okButtonText: "Nice!"
208-
});
209-
})
210-
.catch((errorMessage) => {
203+
fn("Nativescript-Plugin-Firebase!")
204+
.then(dataCue => {
205+
alert({
206+
title: "Callable Function Result",
207+
message: dataCue.message,
208+
okButtonText: "Nice!"
209+
});
210+
})
211+
.catch(errorMessage => {
211212
alert({
212213
title: "An Error Occurred",
213214
message: errorMessage,

0 commit comments

Comments
 (0)