1
0
mirror of https://github.com/sasjs/server.git synced 2026-01-08 07:00:04 +00:00

style: lint

This commit is contained in:
2022-08-26 18:03:28 +02:00
parent eeba2328c0
commit 3b188cd724
2 changed files with 35 additions and 21 deletions

View File

@@ -33,7 +33,7 @@ if (MOCK_SERVERTYPE === undefined) {
webRouter.post('/SASLogon/login', desktopRestrict, async (req, res) => {
const { error, value: body } = loginWebValidation(req.body)
if (error) return res.status(400).send(error.details[0].message)
try {
const response = await controller.login(req, body)
res.send(response)