refactor: migrate to jwt sessions instead of store sessions

This commit is contained in:
MTG2000
2022-06-09 12:28:34 +03:00
parent d8fd6e1432
commit 435fc7f844
14 changed files with 257 additions and 234 deletions

6
api/utils/generateId.js Normal file
View File

@@ -0,0 +1,6 @@
const crypto = require('crypto');
const generateId = () => crypto.randomUUID({});
module.exports = generateId;