Skip to content

Commit bf74edf

Browse files
committed
Update total_sales_gross casting
1 parent bd27f2f commit bf74edf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

backend/app/Models/Affiliate.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@
99

1010
class Affiliate extends BaseModel
1111
{
12+
protected function getCastMap(): array
13+
{
14+
return [
15+
'total_sales_gross' => 'float',
16+
];
17+
}
18+
1219
public function event(): BelongsTo
1320
{
1421
return $this->belongsTo(Event::class);

0 commit comments

Comments
 (0)