Skip to content

Commit

Permalink
Rename migration
Browse files Browse the repository at this point in the history
  • Loading branch information
pshenmic committed Oct 2, 2023
1 parent 4ae3c09 commit 32b7d1f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions packages/api/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
require('dotenv').config()
const { attachPaginate } = require('knex-paginate');

const Dash = require('dash')
const Fastify = require('fastify')
Expand All @@ -10,7 +9,6 @@ const ServiceNotAvailableError = require("./src/errors/ServiceNotAvailableError"
const MainController = require("./src/controllers/MainController");
const TransactionController = require("./src/controllers/TransactionController");
const BlockController = require("./src/controllers/BlockController");
const TenderdashRPC = require("./src/tenderdashRpc");
const packageVersion = require('./package.json').version
const Worker = require('./src/worker/index')
const {BLOCK_TIME} = require("./src/constants");
Expand Down Expand Up @@ -70,8 +68,6 @@ const init = async () => {

await knex.raw('select 1+1');

attachPaginate();

const mainController = new MainController(knex)
const blockController = new BlockController(knex)
const transactionController = new TransactionController(client, knex)
Expand Down
1 change: 0 additions & 1 deletion packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"dotenv": "^16.3.1",
"fastify": "^4.21.0",
"knex": "^2.5.1",
"knex-paginate": "^3.1.1",
"node-fetch": "^2.6.11",
"pg": "^8.11.3"
}
Expand Down

0 comments on commit 32b7d1f

Please sign in to comment.