diff --git a/CommonServer/API/ProjectAPI.ts b/CommonServer/API/ProjectAPI.ts index 72c07b333a..d763557a1b 100644 --- a/CommonServer/API/ProjectAPI.ts +++ b/CommonServer/API/ProjectAPI.ts @@ -45,6 +45,7 @@ export default class ProjectAPI extends BaseAPI { query: { userId: (req as OneUptimeRequest) .userAuthorization!.userId!, + hasAcceptedInvitation: true }, select: { project: {