Fix connection

This commit is contained in:
Lncvrt committed 2025-11-17 15:55:31 -07:00
1 parent fe82889b0a
commit e0611f66c9
4 files changed
+14 -5

No files matched your search

+1 -1
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 =