Commit 4f690674 authored by jaapjansma's avatar jaapjansma
Browse files

update to action Get Expense by type

parent 8f548a5d
......@@ -44,9 +44,9 @@ class GetExpenseByType extends AbstractAction {
try {
$apiParams = [];
if ($parameters->doesParameterExists('expense_type_id')) {
$apiParams['expense_type_id'] = $parameters->getParameter('expense_type_id');
$apiParams['type_id'] = $parameters->getParameter('expense_type_id');
} else {
$apiParams['expense_type_id'] = $this->configuration->getParameter('expense_type_id');
$apiParams['type_id'] = $this->configuration->getParameter('expense_type_id');
}
if ($parameters->doesParameterExists('contact_id')) {
$apiParams['contact_id'] = $parameters->getParameter('contact_id');
......
......@@ -14,7 +14,7 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2020-10-20</releaseDate>
<version>1.0.5</version>
<version>1.0.6</version>
<develStage>stable</develStage>
<compatibility>
<ver>5.0</ver>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment