fix(suspensions): fix missing datetime cast

A missing datetime cast caused issues in the suspension service, where it tried calling Carbon methods on a string (which should have been a Carbon instance).
This commit is contained in:
2023-07-02 00:03:35 +01:00
parent 2cfdabeb62
commit 3e4f8084ae
2 changed files with 4 additions and 4 deletions

View File

@@ -36,7 +36,7 @@ class Ban extends Model
];
public $casts = [
'bannedUntil',
'bannedUntil' => 'datetime',
];
public function user()