13 lines
393 B
TypeScript
13 lines
393 B
TypeScript
|
|
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' })
|
||
|
|
})
|