Remove exception because it breaks the upgrade.

This commit is contained in:
James Cole
2024-12-14 22:12:56 +01:00
parent f33766a062
commit 8f3cf38f77
2 changed files with 1 additions and 2 deletions

View File

@@ -87,7 +87,7 @@ class PiggyBank extends Model
public function account(): BelongsTo
{
throw new FireflyException('This method is not available on PiggyBank.');
return $this->belongsTo(Account::class);
}
public function attachments(): MorphMany