Replace all async reads and writes to the JSON database with the sync reads and writes to prevent a data corruption race condition where two requests are processed at the same time and write to the same file, or one reads while the other writes causing read of partially written data. |
||
---|---|---|
.. | ||
schedule.ts | ||
session.ts | ||
signed-cookie.ts | ||
user.ts |