mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-21 16:52:04 -07:00
feat(ninsight): Removing ninsight library from v5
This commit is contained in:
@@ -41,7 +41,6 @@ const PriceV5 = require('./routes/v5/price')
|
|||||||
const JWTV5 = require('./routes/v5/jwt')
|
const JWTV5 = require('./routes/v5/jwt')
|
||||||
const BcashSLP = require('./routes/v5/bcash/slp')
|
const BcashSLP = require('./routes/v5/bcash/slp')
|
||||||
const PsfSlpIndexer = require('./routes/v5/psf-slp-indexer')
|
const PsfSlpIndexer = require('./routes/v5/psf-slp-indexer')
|
||||||
// const Ninsight = require('./routes/v5/ninsight')
|
|
||||||
|
|
||||||
require('dotenv').config()
|
require('dotenv').config()
|
||||||
|
|
||||||
|
|||||||
@@ -1,32 +0,0 @@
|
|||||||
/*
|
|
||||||
A library for interacting with the Bitcoin.com ninsight (not Insight) indexer.
|
|
||||||
*/
|
|
||||||
|
|
||||||
'use strict'
|
|
||||||
|
|
||||||
const express = require('express')
|
|
||||||
// const axios = require('axios')
|
|
||||||
// const routeUtils = require('./route-utils')
|
|
||||||
// const wlogger = require('../../util/winston-logging')
|
|
||||||
|
|
||||||
const router = express.Router()
|
|
||||||
|
|
||||||
// const BCHJS = require('@psf/bch-js')
|
|
||||||
// const bchjs = new BCHJS()
|
|
||||||
|
|
||||||
// let _this
|
|
||||||
|
|
||||||
class Ninsight {
|
|
||||||
constructor () {
|
|
||||||
// _this = this
|
|
||||||
|
|
||||||
this.router = router
|
|
||||||
this.router.get('/', this.root)
|
|
||||||
}
|
|
||||||
|
|
||||||
root (req, res, next) {
|
|
||||||
return res.json({ status: 'ninsight' })
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
module.exports = Ninsight
|
|
||||||
Reference in New Issue
Block a user