Consistency fixes again
This commit is contained in:
31 files changed
+31
-31
No files matched your search
@@ -2,7 +2,7 @@ import { launcherVersionManifest } from '../../../lib/tables'
|
||||
import { and, desc, eq } from 'drizzle-orm'
|
||||
import { getDatabaseConnection, jsonResponse } from '../../../lib/util'
|
||||
|
||||
export async function handler () {
|
||||
export const handler = async () => {
|
||||
const dbResult = getDatabaseConnection(0)
|
||||
if (!dbResult)
|
||||
return jsonResponse({ error: 'Failed to connect to database' }, 500)
|
||||
|
||||
Reference in new issue
Block a user