diff --git a/CHANGELOG.md b/CHANGELOG.md index 3fb9a718..061e5af2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ The complete changelog for the Costs to Expect REST API, our changelog follows the format defined at https://keepachangelog.com/en/1.0.0/ +## [v3.01.0] - 2022-07-31 +### Changed +- Updated the limit for category assignments. + ## [v3.00.3] - 2022-07-21 ### Fixed - The `complete` filter parameter for games can return in progress games, was limited to be a positive option only. diff --git a/app/Http/Controllers/ItemCategoryManage.php b/app/Http/Controllers/ItemCategoryManage.php index 186ec967..f19e92a4 100644 --- a/app/Http/Controllers/ItemCategoryManage.php +++ b/app/Http/Controllers/ItemCategoryManage.php @@ -33,7 +33,7 @@ public function create( return match ($item_type) { 'allocated-expense' => $this->createItemCategory((int) $resource_type_id, (int) $resource_id, (int) $item_id, 1), - 'game' => $this->createItemCategory((int) $resource_type_id, (int) $resource_id, (int) $item_id, 5), + 'game' => $this->createItemCategory((int) $resource_type_id, (int) $resource_id, (int) $item_id, 10), default => throw new \OutOfRangeException('No item type definition for ' . $item_type, 500), }; } diff --git a/config/api/app/version.php b/config/api/app/version.php index d50b8406..f45a8c49 100644 --- a/config/api/app/version.php +++ b/config/api/app/version.php @@ -3,9 +3,9 @@ declare(strict_types=1); return [ - 'version'=> 'v3.00.3', + 'version'=> 'v3.01.0', 'prefix' => 'v3', - 'release_date' => '2022-07-21', + 'release_date' => '2022-07-31', 'changelog' => [ 'api' => '/v3/changelog', 'markdown' => 'https://github.com/costs-to-expect/api/blob/master/CHANGELOG.md'