fix:remove tagging from caches to enable dynamo db
This commit is contained in:
@@ -52,14 +52,14 @@ class Transaction extends Model
|
||||
|
||||
$transaction->refreshMarketData();
|
||||
|
||||
cache()->tags(['metrics', $transaction->portfolio_id])->flush();
|
||||
cache()->forget('portfolio-metrics-' . $transaction->portfolio_id);
|
||||
});
|
||||
|
||||
static::deleted(function ($transaction) {
|
||||
|
||||
$transaction->syncToHolding();
|
||||
|
||||
cache()->tags(['metrics', $transaction->portfolio_id])->flush();
|
||||
cache()->forget('portfolio-metrics-' . $transaction->portfolio_id);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user