Commit 201d7f9a authored by Fernando's avatar Fernando

Fix typo in sorting param for license compliance

* Fix typo in sort_by param
parent 91d99721
......@@ -21,7 +21,7 @@ export const fetchLicenses = ({ state, dispatch }, params = {}) => {
params: {
per_page: 10,
page: state.pageInfo.page || 1,
sort_by: 'classifcation',
sort_by: 'classification',
sort_direction: 'desc',
...params,
},
......
......@@ -141,7 +141,7 @@ describe('Licenses actions', () => {
const paramsDefault = {
page: state.pageInfo.page,
per_page: 10,
sort_by: 'classifcation',
sort_by: 'classification',
sort_direction: 'desc',
};
......@@ -176,7 +176,7 @@ describe('Licenses actions', () => {
const paramsSent = {
...paramsGiven,
per_page: 10,
sort_by: 'classifcation',
sort_by: 'classification',
sort_direction: 'desc',
};
......
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