Skip to content

Commit e6fd72d

Browse files
committed
fix: Fix stripping extraction throughput
1 parent 7a66a70 commit e6fd72d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/Services/Parser/SC/MiningLaser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function getData(): ?array
4040

4141
$optimal_range = str_replace('m', '', $data['optimal_range'] ?? '');
4242
$maximum_range = str_replace('m', '', $data['maximum_range'] ?? '');
43-
$extraction = str_replace('SCU/s', '', $data['extraction_throughput'] ?? $data['collection_throughput'] ?? '');
43+
$extraction = str_replace(['SCU/s', 'c'], '', $data['extraction_throughput'] ?? $data['collection_throughput'] ?? '');
4444

4545
return [
4646
'uuid' => $this->getUUID(),

storage/app/api/scunpacked-data

0 commit comments

Comments
 (0)