manifold/functions/src/health.ts

9 lines
189 B
TypeScript
Raw Normal View History

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