static import
This commit is contained in:
parent
529c21239d
commit
49d9cb8806
2 changed files with 2 additions and 2 deletions
|
|
@ -196,7 +196,7 @@ const server = program => {
|
|||
|
||||
const io = require('socket.io')(serverInstance)
|
||||
|
||||
const Sockets = require('./sockets')(io, lnd)
|
||||
const Sockets = require('./sockets')(lnd)
|
||||
|
||||
require('./routes')(app, defaults, Sockets, {
|
||||
serverHost: module.serverHost,
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// app/sockets.js
|
||||
|
||||
const logger = require("winston");
|
||||
const io = require('socket.io')
|
||||
|
||||
module.exports = (
|
||||
io,
|
||||
lnd,
|
||||
) => {
|
||||
const Mediator = require("../services/gunDB/Mediator/index.js");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue