Cloud Functions for Firebase Error occurred while parsing your function triggers

后端 未结 1 1211
被撕碎了的回忆
被撕碎了的回忆 2021-02-10 05:47

I had been trying to send emails to the users in Firebase using Cloud Functions for Firebase. I am referring to the repository of firebase function at https://github.com/firebas

1条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-10 06:25

    The functions:config is a command that you run with the Firebase CLI from the command prompt, not from your Functions code.

    So in your command prompt/terminal:

    firebase functions:config:set gmail.email="email@gmail.com" gmail.password="gmailPassword"
    

    0 讨论(0)
提交回复
热议问题