Sends Computing ID to backend.
This commit is contained in:
parent
6e1728d8e3
commit
86fd941f8c
|
@ -4,4 +4,5 @@ export interface Sample {
|
|||
initials?: string;
|
||||
date: Date;
|
||||
location: string;
|
||||
computing_id?: string;
|
||||
}
|
||||
|
|
|
@ -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) => {
|
||||
|
|
Loading…
Reference in New Issue