Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Fix onDelete listener and add subcollection deletion functionality #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

byildiz
Copy link

@byildiz byildiz commented Oct 25, 2019

According to the firebase docs (https://firebase.google.com/docs/functions/auth-events) onDelete listener gets user as a parameter.

With this commit one can delete a subcollection from firestore by adding an entry with the only collection property, which is the path of the subcollection, to the user_privacy.json file.
@byildiz byildiz changed the title fix auth.onDelete listener Fix onDelete listener and add subcollection deletion functionality Oct 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant