Skip to content

Commit

Permalink
fix param validation (#2624)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1aeb674)
  • Loading branch information
Nriver authored and zadam committed Feb 10, 2022
1 parent 832cac1 commit 40598d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/etapi/notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ function parseBoolean(obj, name) {
return obj[name] === 'true';
}

function parseInteger(obj, name) {
function parseOrderDirection(obj, name) {
if (!(name in obj)) {
return undefined;
}
Expand All @@ -176,7 +176,7 @@ function parseInteger(obj, name) {
return integer;
}

function parseOrderDirection(obj, name) {
function parseInteger(obj, name) {
if (!(name in obj)) {
return undefined;
}
Expand Down

0 comments on commit 40598d2

Please sign in to comment.