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 1414 * limitations under the License.
1515 */
1616
17- const functions = require ( 'firebase-functions' ) ;
17+ const functions = require ( 'firebase-functions/v1 ' ) ;
1818const admin = require ( 'firebase-admin' ) ;
19- admin . initializeApp ( functions . config ( ) . firebase ) ;
19+ admin . initializeApp ( ) ;
2020
2121// Adds two numbers to each other.
2222exports . addNumbers = functions
Original file line number Diff line number Diff line change 1515 */
1616
1717// Import the Firebase SDK for Google Cloud Functions.
18- const functions = require ( 'firebase-functions' ) ;
18+ const functions = require ( 'firebase-functions/v1 ' ) ;
1919// Import and initialize the Firebase Admin SDK.
2020const admin = require ( 'firebase-admin' ) ;
2121admin . initializeApp ( ) ;
You can’t perform that action at this time.
0 commit comments