Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Evers authored and Evers committed Mar 4, 2020
1 parent 26807e8 commit e880625
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/logger/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const systemLogger = winston.createLogger({
},
message: true,
}),
format.printf(log => log.message),
format.printf((log) => log.message),
),
transports: [
new transports.Console({
Expand Down
4 changes: 3 additions & 1 deletion src/services/lessons/lessons.service.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ describe('lessons/lessons.service.js', () => {

it('get with query all=true should populate the sections', async () => {
await syncGroupsService.Model.remove();
const { status: statusCreate, data: { _id } } = await service.sendRequestToThisService('create', { userId, courseId });
const {
status: statusCreate, data: { _id },
} = await service.sendRequestToThisService('create', { userId, courseId });

expect(statusCreate).to.equal(201);

Expand Down

0 comments on commit e880625

Please sign in to comment.