feat: first somewhat working version
This commit is contained in:
1 parent
57e063eacb
commit
e12694bf0a
13 files changed
+3968
-1
No files matched your search
@@ -0,0 +1,12 @@
|
||||
import express from 'express';
|
||||
|
||||
export * from './routes.js';
|
||||
|
||||
export * from './auth.js';
|
||||
|
||||
export type * from './dtype.d.ts';
|
||||
|
||||
|
||||
export const getUserId = ( request: express.Request ): string | undefined => {
|
||||
return request.user?.id;
|
||||
};
|
||||
Reference in new issue
Block a user