Skip to content

Commit 1e1a5d0

Browse files
committed
fix: lint errors
1 parent 8ea5682 commit 1e1a5d0

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

lib/Services/cayenne.js

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class Cayenne extends Request {
163163

164164
/**
165165
* Delete all groups and attributes for a user
166-
* @param {string} applicationId
166+
* @param {string} applicationId
167167
* @param {string} userId The user id of the user that owns the parent device
168168
*/
169169
deleteGroups(applicationId, userId) {
@@ -540,15 +540,12 @@ class Cayenne extends Request {
540540
});
541541
}
542542

543-
544-
/**
543+
/**
545544
* Gets a device's meta data by device type id and meta id
546545
* @param {string} deviceTypeId
547546
* @param {string} id
548547
*/
549-
getDeviceTypeOneMeta(deviceTypeId, opts) {
550-
opts = { useCache: false, cacheOnNotFound: false, ...opts };
551-
548+
getDeviceTypeOneMeta(deviceTypeId, id) {
552549
const path = `/things/types/${deviceTypeId}/meta/${id}`;
553550
return this.send('GET', path);
554551
}
@@ -589,7 +586,6 @@ class Cayenne extends Request {
589586
return this.send('GET', path);
590587
}
591588

592-
593589
/**
594590
* Gets a device's channel meta by device type id
595591
* @param {string} deviceTypeId
@@ -608,7 +604,7 @@ class Cayenne extends Request {
608604
return this.send('GET', path);
609605
}
610606

611-
/**
607+
/**
612608
* Gets a device's uses by device type id
613609
* @param {string} deviceTypeId
614610
*/

lib/Services/streaming.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ class Streaming extends Request {
6969

7070
onMessage(msg) {
7171
this.log(
72-
`message received, app: ${msg.applicationId}, eventType: ${msg.eventType}, user: ${msg.userId}`,
72+
`message received, app: ${msg.applicationId}, eventType: ${
73+
msg.eventType
74+
}, user: ${msg.userId}`,
7375
'debug'
7476
);
7577
return this.onMessageHandler(msg.eventType, msg);

lib/Services/timekeeper.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,11 @@ class Timekeeper extends Request {
8585
return this.send('DELETE', path, { query });
8686
}
8787

88-
8988
/**
9089
* @param {string} applicationId
9190
* @param {string} userId
9291
*/
93-
deleteJobs(applicationId, userId){
92+
deleteJobs(applicationId, userId) {
9493
const path = `/jobs`;
9594
const query = this.setTenant(applicationId, userId);
9695

0 commit comments

Comments
 (0)