Browse Source

fix

feature/dockerfile-arm
Evan Feenstra 5 years ago
parent
commit
12385e7582
  1. 4
      api/controllers/index.ts
  2. 3
      dist/api/controllers/index.js
  3. 2
      dist/api/controllers/index.js.map

4
api/controllers/index.ts

@ -20,10 +20,6 @@ const constants = require(path.join(__dirname,'../../config/constants.json'))
async function set(app) {
const c = await models.Chat.findOne({where:{id:31}})
const co = await models.Chat.findOne({where:{id:1}})
chatTribes.replayChatHistory(c,co)
if(models && models.Subscription){
subcriptions.initializeCronJobs()
}

3
dist/api/controllers/index.js

@ -29,9 +29,6 @@ console.log("=> env:", env);
const constants = require(path.join(__dirname, '../../config/constants.json'));
function set(app) {
return __awaiter(this, void 0, void 0, function* () {
const c = yield models_1.models.Chat.findOne({ where: { id: 31 } });
const co = yield models_1.models.Chat.findOne({ where: { id: 1 } });
chatTribes.replayChatHistory(c, co);
if (models_1.models && models_1.models.Subscription) {
subcriptions.initializeCronJobs();
}

2
dist/api/controllers/index.js.map

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save