feat: created_via for tracking how runners got into the system (#212)

close #211

squash merge please:)

Reviewed-on: #212
This commit is contained in:
2025-03-28 17:05:10 +00:00
parent 0a43f1bb5b
commit a3639dd89b
4 changed files with 16 additions and 0 deletions

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;