snippets-node icon indicating copy to clipboard operation
snippets-node copied to clipboard

Node.js snippets for firebase.google.com

Results 88 snippets-node issues
Sort by recently updated
recently updated
newest added

When using the snippet I get a warning ``` Authenticating with `--token` is deprecated and will be removed in a future major version of `firebase-tools`. Instead, use a service account...

Thanks for these amazing snippets but I feel like there should be a warning about including this in any production environment since the combination of `mintAdminToken` and `recursiveDelete` would enable...

Hi Samstern, I tried to use your repository for the firestore backup using cron.yml. It is creating the bucket but writing 0 bytes. I have a question about this line:...

https://github.com/firebase/snippets-node/blob/9ae3a00985b53025fdc82716046882af71b6009d/firestore/solution-aggregation/functions/index.js#L11-L37 If it's retried, I think it's possible to get a wrong value for newNumRatings.

When reading the transaction docs, I accidentally overlooked the use of the `transaction` object to read and update the collection. This PR makes the use of it a bit more...

Get user by federated ID: https://github.com/firebase/firebase-admin-node/pull/769/files Link/unlink federated in update: https://github.com/firebase/firebase-admin-node/pull/770/files Enable anon auth in tenant config: https://github.com/firebase/firebase-admin-node/pull/802/files

### Summary I added the `--fix` option to eslint in the `lint script`, it automatically fixes problems whenever possible I also added: - The bash shebang to `test.sh` - The...