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

[firestore-send-email] Only works on (default) database #2123

Open
BOXNYC opened this issue Jun 18, 2024 · 1 comment
Open

[firestore-send-email] Only works on (default) database #2123

BOXNYC opened this issue Jun 18, 2024 · 1 comment
Labels
blocked Blocked by an outstanding issue or PR extension: firestore-send-email Related to firestore-send-email extension type: feature request New feature or request

Comments

@BOXNYC
Copy link

BOXNYC commented Jun 18, 2024

I have multiple databases, “(default)” and “development”. I have firestore-send-email extension installed from the Extentions tab and another one installed from after I select the “development” database.

They are configured identically but it only sends an email when I add a document to the “(default)” database ‘mail’ collection.

When I look at the processQueue Cloud Function the extension creates, it has an Environment Variable DATABASE_INSTANCE that is empty. When I try to set it to "development" through the Firebase Console, I get an error "Users can't set environment variables, only the system can." (not verbatim)

@BOXNYC BOXNYC added the type: bug Something isn't working label Jun 18, 2024
@cabljac
Copy link
Contributor

cabljac commented Jul 2, 2024

Hi there, yes extensions only support events on the (default) firestore instance currently. This is blocked as v2 cloud functions are not fully supported in extensions. I will relabel this as a feature request for now.

@cabljac cabljac added type: feature request New feature or request blocked Blocked by an outstanding issue or PR and removed type: bug Something isn't working labels Jul 2, 2024
@BOXNYC BOXNYC changed the title 🐛 [firestore-send-email] Only works on (default) database [firestore-send-email] Only works on (default) database Jul 2, 2024
@pr-Mais pr-Mais added the extension: firestore-send-email Related to firestore-send-email extension label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked by an outstanding issue or PR extension: firestore-send-email Related to firestore-send-email extension type: feature request New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants