FRE-5352 Fix: store scan result in lastScanResult for getLastScanResult()
The runScan() method was returning scanResult but never assigning it to this.lastScanResult, causing getLastScanResult() to always return null.
This commit is contained in:
@@ -149,6 +149,8 @@ export class HomeTitleSchedulerService {
|
||||
completedAt,
|
||||
};
|
||||
|
||||
this.lastScanResult = scanResult;
|
||||
|
||||
return scanResult;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user