Sends Computing ID to backend.

This commit is contained in:
Aaron Louie 2020-12-16 10:12:17 -05:00
parent 6e1728d8e3
commit 86fd941f8c
2 changed files with 2 additions and 0 deletions

View File

@ -4,4 +4,5 @@ export interface Sample {
initials?: string;
date: Date;
location: string;
computing_id?: string;
}

View File

@ -92,6 +92,7 @@ export class PrintComponent implements AfterViewInit {
student_id: this.cardNum,
date: this.dateCreated,
location: this.settings.locationId,
computing_id: this.initials,
};
this.api.addSample(newSample).subscribe((result) => {