From e748d669653b0468feb52871ceeaeabd61772f92 Mon Sep 17 00:00:00 2001 From: leonnicolas Date: Thu, 10 Dec 2020 19:41:05 +0100 Subject: [PATCH] bug fix --- src/model/Participant.ts | 2 +- src/resolvers/participantResolvers.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/model/Participant.ts b/src/model/Participant.ts index d623143..c592fec 100644 --- a/src/model/Participant.ts +++ b/src/model/Participant.ts @@ -44,7 +44,7 @@ export class Participant implements Lockable { @Column({ nullable: true }) - usernameflotte: string; + usernamefLotte: string; @Column({ nullable: true diff --git a/src/resolvers/participantResolvers.ts b/src/resolvers/participantResolvers.ts index 7dc5854..ac26082 100644 --- a/src/resolvers/participantResolvers.ts +++ b/src/resolvers/participantResolvers.ts @@ -140,7 +140,7 @@ export default { }, unlockParticipant: (_: any, { id }: { id: number }, { dataSources, req }: { dataSources: any, req: any }) => { if (req.permissions.includes(Permission.WriteParticipant)) { - return dataSources.participantAPI.unlockeParticipant(id, req.userId); + return dataSources.participantAPI.unlockParticipant(id, req.userId); } else { throw new PermissionError(); }