rsibot-utils 1.0.9 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -121,7 +121,7 @@ async function getAbandonedCoins() {
|
|
121
121
|
}
|
122
122
|
async function createNewHistory(coinObj) {
|
123
123
|
try {
|
124
|
-
const newHistory = new
|
124
|
+
const newHistory = new Historical(coinObj);
|
125
125
|
await newHistory.save();
|
126
126
|
} catch (error) {
|
127
127
|
write(error.stack);
|