-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
After spending a massive amount of time trying to fix it, I've found a way to make it work.
I did the following:
-
Complete the steps as described in the Option 1: Add to Dialogflow in the readme
-
In the package.json, change the firebase admin version to:
firebase-admin": "^6.0.0 -
in the index.js, add the following lines after "use strict":
var admin = require('firebase-admin');
admin.initializeApp({
credential: admin.credential.applicationDefault(),
databaseURL: 'https://<DATABASE_NAME>.firebaseio.com'
});
No need to replace DATABASE_NAME with anything, just leave this string as it is.
I'm not sure if all of the additional steps are actually required. But my bot is now able to get the weaather.
Metadata
Metadata
Assignees
Labels
No labels