Remove unneeded code
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import type { Context } from "elysia";
|
||||
import { MySql2Database } from "drizzle-orm/mysql2";
|
||||
import { launcherUpdates } from "../../../lib/tables";
|
||||
import { eq } from "drizzle-orm";
|
||||
import { jsonResponse } from "../../../lib/util";
|
||||
|
||||
export async function handler(context: Context, db: MySql2Database) {
|
||||
export async function handler(db: MySql2Database) {
|
||||
const versionsRaw = await db.select({
|
||||
id: launcherUpdates.id,
|
||||
releaseDate: launcherUpdates.releaseDate,
|
||||
|
||||
Reference in New Issue
Block a user