diff --git a/lib/order.js b/lib/order.js
index <HASH>..<HASH> 100644
--- a/lib/order.js
+++ b/lib/order.js
@@ -38,7 +38,7 @@ Order.get = function(client, id, callback){
 };
 
 Order.list = function(client, query, callback){
-  if(arguments.length === 1){
+  if(arguments.length === 2){
     callback = query;
     query = client;
     client = new Client();
fix order listing issue  (#<I>)

* fix order listing issue



* disable prettier