Skip to content

Commit

Permalink
new API Launcher
Browse files Browse the repository at this point in the history
  • Loading branch information
mmockelyn committed Sep 5, 2020
1 parent f774a83 commit 6dfca1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/Repository/Asset/AssetRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,8 @@ public function getByCategory($subcategory_id)
return $this->asset->newQuery()
->where('published', 1)
->orderBy('published_at', 'asc')
->where('asset_sub_category_id', $subcategory_id);
->where('asset_sub_category_id', $subcategory_id)
->get();
}

}
Expand Down

0 comments on commit 6dfca1a

Please sign in to comment.