fix issue with has invitation accepted

This commit is contained in:
Simon Larsen 2023-09-20 07:52:45 +01:00
parent 5c36fa851c
commit 668d00418d
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -45,6 +45,7 @@ export default class ProjectAPI extends BaseAPI<Project, ProjectServiceType> {
query: {
userId: (req as OneUptimeRequest)
.userAuthorization!.userId!,
hasAcceptedInvitation: true
},
select: {
project: {