Closer/functions/src/index.ts

13 lines
393 B
TypeScript
Raw Normal View History

import * as functions from 'firebase-functions'
export { revenueCatWebhook } from './billing/revenueCatWebhook'
export { syncEntitlement } from './billing/syncEntitlement'
/**
* Basic health check callable.
* Useful for verifying function deployment and firebase-tools wiring.
*/
export const health = functions.https.onRequest((req, res) => {
res.status(200).json({ status: 'ok' })
})