Skip to content

Commit

Permalink
DataComponents: Linting and change imported DataComponentsRepository …
Browse files Browse the repository at this point in the history
…to camelCase
  • Loading branch information
seansica committed Jan 9, 2024
1 parent 91f0996 commit 434003f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions app/repository/data-components-repository.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
const BaseRepository = require('./_base.repository');
const DataComponent = require('../models/data-component-model');

class DataComponentsRepository extends BaseRepository {

}
class DataComponentsRepository extends BaseRepository {}

module.exports = new DataComponentsRepository(DataComponent);
8 changes: 3 additions & 5 deletions app/services/data-components-service.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
'use strict';

const DataComponentsRepository = require('../repository/data-components-repository.js');
const dataComponentsRepository = require('../repository/data-components-repository.js');

const BaseService = require('./_base.service');

class DataComponentsService extends BaseService {
class DataComponentsService extends BaseService { }

}

module.exports = new DataComponentsService('x-mitre-data-component', DataComponentsRepository);
module.exports = new DataComponentsService('x-mitre-data-component', dataComponentsRepository);

0 comments on commit 434003f

Please sign in to comment.