add created_via = "selfservice" to CreateSelfServiceRunner

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

View File

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