6956f0d730
* Change authed endpoints to not look up users unnecessarily * Parallelize some extremely parallelizable DB requests * Clean up overcomplicated sellshares logic
9 lines
176 B
TypeScript
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,
|
|
}
|
|
})
|