give lamassu support 2 full days of logs; log sharing last for 1 week
This commit is contained in:
parent
dc2f4e497f
commit
783b85ed72
3 changed files with 22 additions and 18 deletions
|
|
@ -41,7 +41,7 @@ app.get('/api/support_logs/logs', (req, res, next) => {
|
|||
.then(log => (!_.isNil(log) && !_.isEmpty(log)) ? log : supportLogs.batch().then(_.first))
|
||||
.then(result => {
|
||||
const log = result || {}
|
||||
return logs.getMachineLogs(log.deviceId, log.timestamp)
|
||||
return logs.getUnlimitedMachineLogs(log.deviceId, log.timestamp)
|
||||
})
|
||||
.then(r => res.send(r))
|
||||
.catch(next)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue