fix: resolve E2E and unit test failures across tenant isolation and location endpoints
This commit is contained in:
@@ -71,9 +71,9 @@ class ScanService
|
||||
[$lng, $lat, $dropOff->id],
|
||||
);
|
||||
$distance = (float) ($row->m ?? 999999);
|
||||
// if ($distance > self::MAX_DISTANCE_METERS) {
|
||||
// return ScanResult::reject('out_of_range:'.(int) $distance.'m', $code, CollectionLog::STATUS_INVALID);
|
||||
// }
|
||||
if ($distance > self::MAX_DISTANCE_METERS) {
|
||||
return ScanResult::reject('out_of_range:'.(int) $distance.'m', $code, CollectionLog::STATUS_INVALID);
|
||||
}
|
||||
}
|
||||
|
||||
return DB::transaction(function () use (
|
||||
|
||||
Reference in New Issue
Block a user