Last active
January 15, 2020 20:48
-
-
Save tianhaoz95/70fdfc669555a45fabb3ba5b5df22db6 to your computer and use it in GitHub Desktop.
In app version of Firebase API
This file contains hidden or 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
export const internalAwesomeAPI = functions.https.onCall(async (data, fbContext) => { | |
const context: FunctionContext = provider.fbContext2context(fbContext); | |
const intermediateRequest: IntermediateRequestInterface = parseIntermediateRequest(data); | |
await awesomeHandler(intermediateRequest, context); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment