mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Added licence notice to many files, other minor type fixes
This commit is contained in:
parent
d9175c1fc2
commit
75d93af246
22 changed files with 483 additions and 107 deletions
|
@ -1,5 +1,6 @@
|
|||
/* ----------------------------------------------------------------------------
|
||||
Question Server
|
||||
|
||||
Question Server
|
||||
GitLab: <https://gitlab.com/MrFry/mrfrys-node-server>
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
|
@ -437,7 +438,7 @@ export function backupData(questionDbs: Array<QuestionDb>): void {
|
|||
logger.Log(`Backing up ${data.name}...`)
|
||||
writeData(
|
||||
data.data,
|
||||
`${path}${data.name}_${utils.GetDateString(true)}.json`
|
||||
`${path}${data.name}_${utils.GetDateString(undefined, true)}.json`
|
||||
)
|
||||
logger.Log('Done')
|
||||
} catch (err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue