Skip to content

Commit

Permalink
Merge pull request #1387 from argzdev/fix_functions
Browse files Browse the repository at this point in the history
Updated functions path for Gen1 Firebase Functions
  • Loading branch information
a-maurice authored Nov 5, 2024
2 parents 3e667f8 + 8e2abcf commit c3de3d6
Show file tree
Hide file tree
Showing 3 changed files with 2,532 additions and 7,779 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
*/
'use strict';

const functions = require('firebase-functions');
const functions = require('firebase-functions/v1');
const admin = require('firebase-admin');
admin.initializeApp(functions.config().firebase);
admin.initializeApp();

// Adds two numbers to each other.
exports.addNumbers = functions.https.onCall((data) => {
Expand Down
Loading

0 comments on commit c3de3d6

Please sign in to comment.