updated asset in asset helper

This commit is contained in:
2019-07-08 23:30:58 -05:00
parent 9e198c3102
commit 7f49fbc107
2 changed files with 12 additions and 17 deletions

View File

@@ -89,7 +89,7 @@ class ProcessAssetsJob implements ShouldQueue
foreach($assets as $asset) {
//If the asset is in one of the locations we want, then store
//or update the asset
if(in_array($asset->location_flag, $this->location_array)) {
if(in_array($this->location_array, $asset->location_flag)) {
//Attempt to store the asset
$aHelper->StoreNewAsset($asset);
}