You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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":
I'm not sure if all of the additional steps are actually required. But my bot is now able to get the weaather.
The text was updated successfully, but these errors were encountered: