1
0
Fork 0

Rewrote the api rate limiter with promises instead of callbacks

This commit is contained in:
Julien Dessaux 2023-05-24 23:03:19 +02:00
parent efdf50a55a
commit 9963ab79b7
Signed by: adyxax
GPG key ID: F92E51B86E07177E
6 changed files with 105 additions and 40 deletions

View file

@ -3,6 +3,7 @@ import Database from 'better-sqlite3';
const allMigrations = [
'database/000_init.sql',
'database/001_systems.sql',
];
const db = new Database(