Somehow fix this code that used to work

This commit is contained in:
2025-11-04 11:59:59 -07:00
parent f45cb1691f
commit 5a031c1dd1

View File

@@ -7,10 +7,9 @@ export async function handler(db: MySql2Database) {
id: launcherUpdates.id
})
.from(launcherUpdates)
.where(eq(launcherUpdates.hidden, false))
.where(eq(launcherUpdates.hidden, 0))
.orderBy(desc(launcherUpdates.place))
.limit(1)
.execute()
return version[0].id
}