Fix jwt-token
This commit is contained in:
@@ -133,6 +133,7 @@ describe('Performance Tests', () => {
|
||||
where: { tenant_id: testTenant.id },
|
||||
include: [{
|
||||
model: models.Device,
|
||||
as: 'device',
|
||||
where: { tenant_id: testTenant.id }
|
||||
}],
|
||||
order: [['device_timestamp', 'DESC']],
|
||||
@@ -459,8 +460,10 @@ describe('Performance Tests', () => {
|
||||
const allTenants = await models.Tenant.findAll({
|
||||
include: [{
|
||||
model: models.Device,
|
||||
as: 'devices',
|
||||
include: [{
|
||||
model: models.DroneDetection,
|
||||
as: 'detections',
|
||||
limit: 10,
|
||||
order: [['device_timestamp', 'DESC']]
|
||||
}]
|
||||
|
||||
Reference in New Issue
Block a user