Circuits...
Circuits Fido e Max Qta Fixed error eslint: 7.0.0 is OK
This commit is contained in:
@@ -63,7 +63,7 @@ const tools = require('./tools/general');
|
||||
|
||||
const shared_consts = require('./tools/shared_nodejs');
|
||||
|
||||
var mongoose = require('mongoose').set('debug', false);
|
||||
var mongoose = require('mongoose').set('debug', process.env.DEBUG);
|
||||
|
||||
mongoose.set('debug', process.env.DEBUG);
|
||||
|
||||
@@ -345,10 +345,10 @@ function testmsgwebpush() {
|
||||
// console.log('nomeapp 1: ' , tools.getNomeAppByIdApp(1));
|
||||
// console.log('nomeapp 2: ' , tools.getNomeAppByIdApp(2));
|
||||
|
||||
User.find({username: 'paoloar77', idapp: '1'}).then((arrusers) => {
|
||||
User.find({username: 'paoloar77', idapp: '1'}).then(async (arrusers) => {
|
||||
if (arrusers !== null) {
|
||||
for (const user of arrusers) {
|
||||
tools.sendNotificationToUser(user._id, 'Server',
|
||||
await tools.sendNotificationToUser(user._id, 'Server',
|
||||
'Il Server è Ripartito', '/', '', 'server', []).then(ris => {
|
||||
if (ris) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user