manifold/functions/src/health.ts
Marshall Polaris 6956f0d730
Implement really obvious optimizations on placebet, sellbet, sellshares (#452)
* Change authed endpoints to not look up users unnecessarily

* Parallelize some extremely parallelizable DB requests

* Clean up overcomplicated sellshares logic
2022-06-10 17:51:55 -07:00

9 lines
176 B
TypeScript

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