Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Oct 6, 2023
1 parent 71d8559 commit dc568f8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion lib/services/groups/groupRegistryMemory.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ let registeredGroups = {};
const logger = require('logops');
const intoTrans = require('../common/domain').intoTrans;
const errors = require('../../errors');
const config = require('../../commonConfig');
const _ = require('underscore');
const context = {
op: 'IoTAgentNGSI.InMemoryGroupRegister'
Expand Down
4 changes: 0 additions & 4 deletions lib/services/groups/groupService.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,6 @@ function validateGroup(group, callback) {
config.getGroupRegistry().getSilently(group.resource, group.apikey, generateDuplicateHandler(innerCb));
}

function checkServiceAndSubservice(innerCb) {
config.getGroupRegistry().find(group.service, group.subservice, generateDuplicateHandler(innerCb));
}

function checkMandatoryParams(innerCb) {
if (!group.service) {
innerCb(new errors.MissingConfigParams(['service']));
Expand Down

0 comments on commit dc568f8

Please sign in to comment.