Skip to content

Commit

Permalink
Ten categories
Browse files Browse the repository at this point in the history
- Update the limit to ten categories
  • Loading branch information
deanblackborough committed Jul 31, 2022
1 parent a56c98c commit f3ad6fe
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/ItemCategoryManage.php
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};
}
Expand Down
4 changes: 2 additions & 2 deletions config/api/app/version.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit f3ad6fe

Please sign in to comment.