diff options
Diffstat (limited to 'src/poolRequests.js')
-rw-r--r-- | src/poolRequests.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/poolRequests.js b/src/poolRequests.js index b117c9923..ee6c0156e 100644 --- a/src/poolRequests.js +++ b/src/poolRequests.js | |||
@@ -29,6 +29,8 @@ | |||
29 | PoolRequestsDB.find({}, { type: 1, request: 1 }, function (err, pool_requests) { | 29 | PoolRequestsDB.find({}, { type: 1, request: 1 }, function (err, pool_requests) { |
30 | if (err) throw err | 30 | if (err) throw err |
31 | 31 | ||
32 | if (pool_requests.length === 0) return | ||
33 | |||
32 | var requests = { | 34 | var requests = { |
33 | add: [], | 35 | add: [], |
34 | remove: [] | 36 | remove: [] |