diff --git a/src/resolvers/participantResolvers.ts b/src/resolvers/participantResolvers.ts index 456ee12..f79b572 100644 --- a/src/resolvers/participantResolvers.ts +++ b/src/resolvers/participantResolvers.ts @@ -88,6 +88,9 @@ export default { throw new PermissionError(); } }, + distributedActiveBikeParte: () => { + return false; + }, isLockedByMe: (parent: any, __: any, { req }: { req: any }) => isLockedByMe(parent, { req }), isLocked: (parent: any, __: any, { req }: { req: any }) => isLocked(parent, { req }) }, diff --git a/src/schema/type-defs.ts b/src/schema/type-defs.ts index 768b457..535fb61 100644 --- a/src/schema/type-defs.ts +++ b/src/schema/type-defs.ts @@ -422,6 +422,7 @@ export default gql` This value is calculated form other values. It is true, if the person is not on the black list and not retired and is either Mentor dt. Pate or Partner Mentor dt. Partnerpate for at least one bike. + Note: this will always be false for the moment. """ distributedActiveBikeParte: Boolean! engagement: [Engagement]