pull/34/head
leonnicolas 4 years ago
parent 6c115c33a1
commit e748d66965
No known key found for this signature in database
GPG Key ID: 088D0743E2B65C07

@ -44,7 +44,7 @@ export class Participant implements Lockable {
@Column({
nullable: true
})
usernameflotte: string;
usernamefLotte: string;
@Column({
nullable: true

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

Loading…
Cancel
Save