Browse Source

fix: typo on accessing arguments variable for parameter check

pull/87/head
Aras Abbasi 5 days ago
parent
commit
02d4c5bda5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/api/event.js

+ 1
- 1
lib/api/event.js View File

@ -118,7 +118,7 @@ function get(eventId, callback){
* ``` * ```
*/ */
function query(start, end, parameters, callback){ function query(start, end, parameters, callback){
if(arguments.length < 4 && typeof argument[2] === "function"){
if(arguments.length < 4 && typeof arguments[2] === "function"){
callback = parameters; callback = parameters;
parameters = {}; parameters = {};
} }


Loading…
Cancel
Save