fix languages
This commit is contained in:
@@ -123,7 +123,7 @@ router.delete('/:id/calendar/blocks/:blockId', requireRole('MANAGER'), async (re
|
||||
router.get('/:id/maintenance', async (req, res, next) => {
|
||||
try {
|
||||
const { id } = parseParams(idParamSchema, req)
|
||||
const logs = await service.getMaintenanceLogs(id)
|
||||
const logs = await service.getMaintenanceLogs(id, req.companyId)
|
||||
ok(res, logs)
|
||||
} catch (err) { next(err) }
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user