mirror of
https://github.com/aljazceru/landscape-template.git
synced 2026-01-06 16:04:23 +01:00
refactor: migrate to jwt sessions instead of store sessions
This commit is contained in:
6
api/utils/generateId.js
Normal file
6
api/utils/generateId.js
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
const crypto = require('crypto');
|
||||
|
||||
const generateId = () => crypto.randomUUID({});
|
||||
|
||||
module.exports = generateId;
|
||||
Reference in New Issue
Block a user