Created
April 12, 2020 20:09
-
-
Save ramah/8ba4cc3509b2afed0862c0c670165eaa to your computer and use it in GitHub Desktop.
Markdium-Basic firebase realtime trigger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as functions from “firebase-functions”; | |
export const onBenineesseAddedFunction = | |
functions.database | |
.ref(benineesesPathToWatch) | |
.onCreate((snapshot: database.DataSnapshot, | |
context: EventContext) => { | |
return updateCount(pathToBenineesesCounter, true); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment