Unable to set a region with useFunctions() #267
Answered
by
elliotcw
jeff-kroot
asked this question in
Q&A
-
Currently, we have to do the following to specify the region with const functions = useFunctions();
functions.region_ = 'europe-west1'; This does not seem like the way it should work (also seeing it's undocumented). Maybe something like the following: const functions = useFunctions('europe-west1');
// or
const functions = useFunctions()('europe-west1');
// or
const functions = useFunctions({ region: 'europe-west1'}); |
Beta Was this translation helpful? Give feedback.
Answered by
elliotcw
Oct 19, 2020
Replies: 1 comment 2 replies
-
This fix has changed as of around
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
jamesdaniels
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This fix has changed as of around
"firebase": "^7.24.0",
._region
has change to justregion
.