Skip to content

Commit de824c2

Browse files
committed
linting
1 parent 42815f2 commit de824c2

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

web/backend/src/Server.ts

+6-8
Original file line numberDiff line numberDiff line change
@@ -233,14 +233,12 @@ app.post('/api/add_role', (req, res) => {
233233
}
234234

235235
usersDB
236-
.put(sciper, role)
237-
.then(()=>res.status(200).send('Role added'))
238-
.catch((error) => {
239-
res.status(500).send('Failed to add role');
240-
console.log(error);
241-
});
242-
243-
236+
.put(sciper, role)
237+
.then(() => res.status(200).send('Role added'))
238+
.catch((error) => {
239+
res.status(500).send('Failed to add role');
240+
console.log(error);
241+
});
244242
})
245243
.catch((error) => {
246244
res.status(500).send('Failed to check Sciper');

0 commit comments

Comments
 (0)