Skip to content

Commit

Permalink
show trigger signals longer
Browse files Browse the repository at this point in the history
  • Loading branch information
Haehnchen committed Jan 5, 2023
1 parent a6e9977 commit 53c0146
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ module.exports = class Http {

app.get('/signals', async (req, res) => {
res.render('../templates/signals.html.twig', {
signals: await this.signalHttp.getSignals(Math.floor(Date.now() / 1000) - 60 * 60 * 48)
signals: await this.signalHttp.getSignals(Math.floor(Date.now() / 1000) - 60 * 60 * 24 * 30)
});
});

Expand Down
2 changes: 1 addition & 1 deletion src/modules/signal/signal_http.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ module.exports = class SignalHttp {
}

async getSignals(since) {
return await this.signalRepository.getSignals(since);
return this.signalRepository.getSignals(since);
}
};

0 comments on commit 53c0146

Please sign in to comment.