manifold/functions/src/health.ts

9 lines
186 B
TypeScript
Raw Normal View History

import { newEndpoint } from './api'
export const health = newEndpoint({ method: 'GET' }, async (_req, auth) => {
return {
message: 'Server is working.',
uid: auth.uid,
}
})