create path refactor, removed debug log

This commit is contained in:
mrfry 2023-05-01 10:56:26 +02:00
parent 4bb8059986
commit 1a3c806e66
19 changed files with 57 additions and 209 deletions

View file

@ -49,7 +49,7 @@ interface Session {
function BackupDB(usersDbBackupPath: string, userDB: Database) {
logger.Log('Backing up auth DB ...')
utils.CreatePath(usersDbBackupPath, true)
utils.CreatePath(usersDbBackupPath)
userDB
.backup(
`${usersDbBackupPath}/users.${utils