mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-09 23:48:36 +01:00
refactoring
This commit is contained in:
@@ -7,9 +7,7 @@ export default defineEventHandler(async event => {
|
||||
if (!userData?.logged) return [];
|
||||
|
||||
|
||||
const members = await TeamMemberModel.find({
|
||||
user_id: userData.id
|
||||
});
|
||||
const members = await TeamMemberModel.find({ user_id: userData.id, pending: false });
|
||||
|
||||
const projects: TProject[] = [];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user