add created_via = "selfservice" to CreateSelfServiceCitizenRunner

This commit is contained in:
Philipp Dormann 2025-03-28 12:06:09 +01:00
parent 9692569953
commit d62ef99e9d
Signed by: philipp
GPG Key ID: 3BB9ADD52DCA4314

View File

@ -26,6 +26,7 @@ export class CreateSelfServiceCitizenRunner extends CreateParticipant {
public async toEntity(): Promise<Runner> { public async toEntity(): Promise<Runner> {
let newRunner: Runner = new Runner(); let newRunner: Runner = new Runner();
newRunner.created_via = "selfservice";
newRunner.firstname = this.firstname; newRunner.firstname = this.firstname;
newRunner.middlename = this.middlename; newRunner.middlename = this.middlename;
newRunner.lastname = this.lastname; newRunner.lastname = this.lastname;