From 0165100d1339b3162d448b83165a67b65f39825f Mon Sep 17 00:00:00 2001 From: github-automatic-chores Date: Thu, 2 May 2024 10:30:53 +0000 Subject: [PATCH] =?UTF-8?q?automatic=20chores=20(27258f48)=20=F0=9F=93=9D?= =?UTF-8?q?=20[skip-ci]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is a commit done by the GitHub action https://github.com/Puzzlepart/did/blob/dev/.github/workflows/automatic_chores.yml. This way we avoid having to generate documentation, run eslint etc. locally before commiting to the repo. See https://github.com/Puzzlepart/did/issues/903 for more details. --- README.md | 2 +- server/graphql/resolvers/project/ProjectResolver.ts | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7870b99c1..b38390f27 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@
-[![version](https://img.shields.io/badge/version-0.13.3-13-green.svg)](https://semver.org) +[![version](https://img.shields.io/badge/version-0.13.3-14-green.svg)](https://semver.org)
📖 Table of Contents diff --git a/server/graphql/resolvers/project/ProjectResolver.ts b/server/graphql/resolvers/project/ProjectResolver.ts index 985407827..174dc8034 100644 --- a/server/graphql/resolvers/project/ProjectResolver.ts +++ b/server/graphql/resolvers/project/ProjectResolver.ts @@ -68,8 +68,14 @@ export class ProjectResolver { const { projects } = await this._projectSvc.getProjectsData( { $or: [ - { [`extensions.${extensionId}.properties.resources.id`]: context.userId }, - { [`extensions.${extensionId}.properties.projectOwner`]: context.userId } + { + [`extensions.${extensionId}.properties.resources.id`]: + context.userId + }, + { + [`extensions.${extensionId}.properties.projectOwner`]: + context.userId + } ] }, {