summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xserver.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.js b/server.js
index b11a766..c5ed3ad 100755
--- a/server.js
+++ b/server.js
@@ -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) {