Skip to content

Commit 89cda29

Browse files
committed
proper linting
1 parent 5e8c155 commit 89cda29

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

wrongsecrets-balancer/src/teams/teams.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,8 @@ async function validateHMAC(req, res, next) {
103103
}
104104
res.status(403).send({ message: 'Invalid validation, please stop doing this!' });
105105
} catch (error) {
106-
res.status(500).send({ message: 'Invalid validation, please stop doing this!' });
106+
res.status(500).send({ message: 'Invalid validation, please stop doing this!' });
107107
}
108-
109108
}
110109

111110
/**

wrongsecrets-balancer/src/teams/teams.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ test('create team creates a instance for team via k8s service', async () => {
146146

147147
await request(app)
148148
.post('/balancer/teams/team42/join')
149-
.send({hmacvalue: '4c8dd1f1306727c537aa96f0c59968b719740f2a30ccda92044ea59622565564' })
149+
.send({ hmacvalue: '4c8dd1f1306727c537aa96f0c59968b719740f2a30ccda92044ea59622565564' })
150150
.expect(200)
151151
.then(({ body }) => {
152152
expect(body.message).toBe('Created Instance');

0 commit comments

Comments
 (0)