Fix connection

This commit is contained in:
2025-11-17 15:55:31 -07:00
parent fe82889b0a
commit e0611f66c9
4 changed files with 14 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ export function jsonResponse (data: any, status = 200) {
})
}
export function getDatabaseConnection (type: number = 0) {
export function getDatabaseConnection (type: number) {
if (type !== 0 && type !== 1) return null
const env =