File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app_check/integration_test/functions/functions
messaging/integration_test/functions/functions Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- const functions = require ( 'firebase-functions' ) ;
17
+ const functions = require ( 'firebase-functions/v1 ' ) ;
18
18
const admin = require ( 'firebase-admin' ) ;
19
- admin . initializeApp ( functions . config ( ) . firebase ) ;
19
+ admin . initializeApp ( ) ;
20
20
21
21
// Adds two numbers to each other.
22
22
exports . addNumbers = functions
Original file line number Diff line number Diff line change 15
15
*/
16
16
17
17
// Import the Firebase SDK for Google Cloud Functions.
18
- const functions = require ( 'firebase-functions' ) ;
18
+ const functions = require ( 'firebase-functions/v1 ' ) ;
19
19
// Import and initialize the Firebase Admin SDK.
20
20
const admin = require ( 'firebase-admin' ) ;
21
21
admin . initializeApp ( ) ;
You can’t perform that action at this time.
0 commit comments