diff options
Diffstat (limited to 'server.js')
-rwxr-xr-x | server.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -35,6 +35,7 @@ class Database { this.#filename = filename; this.#list = JSON.parse(fs.readFileSync(this.#filename)); this.#lastbackup = new Date(); + this.#sort(); } add_new(votes, string) { |