Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: proposal count endpoint (#1672)
<!-- Follow semantic-release guidelines for the PR title, which is used in the changelog. Title should follow the format `<type>(<scope>): <subject>`, where - Type is one of: build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test|BREAKING CHANGE - Scope (optional) describes the place of the change (eg a particular milestone) and is usually omitted - subject should be a non-capitalized one-line description in present imperative tense and not ending with a period See https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines for more details. --> ## Description Refactor the filters input for the proposal count endpoint ## Motivation After the proposals count endpoint is used in the frontend there were some improvements needed * Bug fixed (#X) ## Changes: <!-- Please provide a list of the changes implemented by this PR --> * Changes are only in the proposals controller and service where we just change the filters input and how we parse it. ## Tests included - [x] Included for each change/fix? - [ ] Passing? <!-- Merge will not be approved unless tests pass --> ## Documentation - [ ] swagger documentation updated (required for API changes) - [ ] official documentation updated ### official documentation info <!-- If you have updated the official documentation, please provide PR # and URL of the updated pages -->
- Loading branch information