diff options
author | Tom Smeding <t.j.smeding@uu.nl> | 2022-09-08 17:40:55 +0200 |
---|---|---|
committer | Tom Smeding <t.j.smeding@uu.nl> | 2022-09-08 17:40:55 +0200 |
commit | 9ad342d1e711b5b19477ad56db44b46ad1cb024f (patch) | |
tree | 97a2297745ac840fbe7cc6526b3b72fb558e2b77 /server.js | |
parent | 79a83de5d28750095cf3af5e933af28872e7e3eb (diff) |
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) { |