Skip to content

Commit 432d215

Browse files
author
gondzo
committed
fix lint issues
1 parent 730d338 commit 432d215

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

services/DroneService.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ function * _getAll(providerId, entity) {
179179
const docs = yield Drone.find(criteria).sort(sortBy).skip(entity.offset || 0).limit(entity.limit || 1000);
180180
return {
181181
total: yield Drone.find(criteria).count(),
182-
items: _.map(docs, (d) => _.pick(d, 'id', 'imageUrl', 'status', 'thumbnailUrl', 'deviceId', 'serialNumber', 'name', 'description', 'type',
183-
'mileage', 'minSpeed', 'maxSpeed', 'maxFlightTime', 'maxCargoWeight', 'currentLocation')),
182+
items: _.map(docs, (d) => _.pick(d, 'id', 'imageUrl', 'status', 'thumbnailUrl', 'deviceId', 'serialNumber', 'name',
183+
'description', 'type', 'mileage', 'minSpeed', 'maxSpeed', 'maxFlightTime', 'maxCargoWeight', 'currentLocation')),
184184
};
185185
}
186186

0 commit comments

Comments
 (0)