generated from nhcarrigan/template
chore: add missing pieces for profile reporting and fix formatting
- Added Reports link to admin dropdown menu - Fixed log route path (changed from '/log' to '/') - Exported report types from shared-types index - Fixed whitespace alignment in auth and game types - Fixed formatting in e2e test files (newlines, comment style)
This commit is contained in:
@@ -19,7 +19,7 @@ interface LogBody {
|
||||
}
|
||||
|
||||
export default async function (fastify: FastifyInstance) {
|
||||
fastify.post('/log', async function (request: FastifyRequest<{ Body: LogBody }>) {
|
||||
fastify.post('/', async function (request: FastifyRequest<{ Body: LogBody }>) {
|
||||
const { level, message, context, error } = request.body;
|
||||
|
||||
if (level === 'error' && error) {
|
||||
|
||||
Reference in New Issue
Block a user