This commit is contained in:
hackerESQ
2025-08-21 21:46:53 -05:00
parent 5611de0e2e
commit ac310735df
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -218,6 +218,9 @@ class Portfolio extends Model
);
});
}
cache()->forget('graph-YTD-'.$this->id);
cache()->forget('graph-YTD-'.request()->user()->id);
}
protected function getMostRecentCloseData($history, $date, $i = 0, $max_attempts = 5)