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(); }