Skip to content

Commit

Permalink
Merge pull request #236 from deanblackborough/master
Browse files Browse the repository at this point in the history
Ten categories
  • Loading branch information
deanblackborough authored Jul 31, 2022
2 parents a56c98c + f3ad6fe commit 12bd0fd
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 12bd0fd

Please sign in to comment.