Skip to content
Snippets Groups Projects
Commit 83b590af authored by Benedikt Magnus's avatar Benedikt Magnus
Browse files

Members are now uplifted to wichtels after assignment.

parent 541152c3
No related branches found
No related tags found
No related merge requests found
import ContactType from '../../types/contactType';
import Database from '../../database/database';
import { Exclusion } from '../../classes/exclusion';
import { ExclusionReason } from '../../types/exclusionReason';
......@@ -78,6 +79,13 @@ export class AssignmentModule
this.database.saveRelationships(relationships);
// All members now finally become wichtels:
for (const member of members)
{
member.type = ContactType.Wichtel;
}
this.database.updateContacts(members);
return true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment