mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-10 18:07:18 -05:00
fix: remove accidental commenting-out of code
This commit is contained in:
@@ -7,7 +7,7 @@ const { uri, database, options } = accountServerConfig;
|
||||
let accountServerDBConnection;
|
||||
let PNID;
|
||||
|
||||
async function connect() {/*
|
||||
async function connect() {
|
||||
accountServerDBConnection = await mongoose.createConnection(`${uri}/${database}`, options);
|
||||
accountServerDBConnection.on('error', console.error.bind(console, 'Mongoose connection error:'));
|
||||
accountServerDBConnection.on('close', () => {
|
||||
@@ -18,7 +18,7 @@ async function connect() {/*
|
||||
|
||||
PNID = accountServerDBConnection.model('PNID', PNIDSchema);
|
||||
|
||||
module.exports.PNID = PNID;*/
|
||||
module.exports.PNID = PNID;
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
|
||||
Reference in New Issue
Block a user