mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 15:58:38 +01:00
fix dashboard premium tables
This commit is contained in:
@@ -4,7 +4,5 @@ import { AuthContext } from "~/server/middleware/01-authorization";
|
||||
export default defineEventHandler(async event => {
|
||||
const userData: AuthContext = getRequestUser(event) as any;
|
||||
if (!userData.logged) return;
|
||||
// const userSettings = await UserSettingsModel.findOne({ user_id: userData.id }, { max_projects: 1 });
|
||||
// return userSettings?.max_projects || 3;
|
||||
return 20;
|
||||
});
|
||||
Reference in New Issue
Block a user