diff --git a/backend/src/util/add-post-with-retry.js b/backend/src/util/add-post-with-retry.js index 431078c..ffcc60f 100644 --- a/backend/src/util/add-post-with-retry.js +++ b/backend/src/util/add-post-with-retry.js @@ -1,3 +1,5 @@ +const Promise = require('bluebird'); + const { dao } = require('./contracts'); const addPostWithRetry = async (authors, hash, citations, retryDelay = 5000) => {