Skip to content

Commit 4d956a8

Browse files
egilmorezjhuleatt
andauthored
Update Node/quickstarts/callable-functions/functions/index.js
Co-authored-by: Jeff <[email protected]>
1 parent b74ffb9 commit 4d956a8

File tree

1 file changed

+4
-1
lines changed
  • Node/quickstarts/callable-functions/functions

1 file changed

+4
-1
lines changed

Node/quickstarts/callable-functions/functions/index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@
1515
*/
1616

1717
// [START imports]
18+
// Dependencies for callable functions
1819
const {onCall, HttpsError} = require("firebase-functions/v2/https");
19-
const {getDatabase} = require("firebase-admin/database");
2020
const {logger} = require("firebase-functions/v2");
21+
22+
// Dependencies for the addMessage function
23+
const {getDatabase} = require("firebase-admin/database");
2124
const sanitizer = require("./sanitizer");
2225
// [END imports]
2326

0 commit comments

Comments
 (0)