Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

From where to import getFunctions() ? #1761

Closed
gijo-varghese opened this issue Jun 13, 2022 · 2 comments
Closed

From where to import getFunctions() ? #1761

gijo-varghese opened this issue Jun 13, 2022 · 2 comments

Comments

@gijo-varghese
Copy link

The documentation of creating tasks mentions to use getFunctions(). But there is no doc on where to import.

None of these work:

const { getFunctions }  = require('firebase-functions');
const { getFunctions }  = require('firebase-admin');
const { getFunctions }  = require('firebase-admin/functions');
@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@gijo-varghese
Copy link
Author

Upgrading to latest version fixed the issue:

const { getFunctions } = require('firebase-admin/functions');

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants