Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions app_check/integration_test/functions/functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
* limitations under the License.
*/

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
Expand Down
2 changes: 1 addition & 1 deletion messaging/integration_test/functions/functions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

// Import the Firebase SDK for Google Cloud Functions.
const functions = require('firebase-functions');
const functions = require('firebase-functions/v1');
// Import and initialize the Firebase Admin SDK.
const admin = require('firebase-admin');
admin.initializeApp();
Expand Down
Loading