mirror of
https://github.com/polaroi8d/cactoide.git
synced 2026-03-23 06:35:29 +00:00
feat: implement psql and improvements
This commit is contained in:
5
src/lib/generateUserId.ts
Normal file
5
src/lib/generateUserId.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export const generateUserId = () => {
|
||||
const userId = 'user_' + Date.now() + '_' + Math.random().toString(36).substr(2, 9);
|
||||
|
||||
return userId;
|
||||
};
|
||||
Reference in New Issue
Block a user