rsibot-utils 1.3.2 → 1.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -113,7 +113,7 @@ function initQueueListener() {
113
113
  async function getAbandonedCoins() {
114
114
  try {
115
115
  const abandonedCoins = await ActiveCoin.find({ abandoned: true });
116
- return abandonedCoins;
116
+ return abandonedCoins && [];
117
117
  } catch (error) {
118
118
  write(error.stack,true);
119
119
  return [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rsibot-utils",
3
- "version": "1.3.2",
3
+ "version": "1.3.5",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {