Fix latest endpoint

This commit is contained in:
Lncvrt committed 2026-02-27 12:46:40 -07:00
1 parent a2daf2bbfc
commit 7a427cb730
1 file changed
+2 -2
+2 -2
View File
@@ -10,7 +10,7 @@ export const handler = async () => {
const version = await db
.select({
downloadUrlVersion: launcherVersionManifest.downloadUrlVersion
versionName: launcherVersionManifest.versionName
})
.from(launcherVersionManifest)
.where(
@@ -25,5 +25,5 @@ export const handler = async () => {
connection.end()
return version[0] ? version[0].downloadUrlVersion : '-1'
return version[0] ? version[0].versionName : '-1'
}