Skip to content

Commit d84b62d

Browse files
author
Ahmed Elghareeb
committed
refactor: splits long line into better format
1 parent bed8cf9 commit d84b62d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web/backend/src/controllers/authentication.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ export const authenticationRouter = express.Router();
88
// This is via this endpoint that the client request the tequila key, this key
99
// will then be used for redirection on the tequila server
1010
authenticationRouter.get('/get_teq_key', (req, res) => {
11-
const body = `urlaccess=${process.env.FRONT_END_URL}/api/control_key\nservice=Evoting\nrequest=name,firstname,email,uniqueid,allunits`;
11+
const body = `urlaccess=${process.env.FRONT_END_URL}/api/control_key
12+
\nservice=Evoting
13+
\nrequest=name,firstname,email,uniqueid,allunits`;
1214
axios
1315
.post('https://tequila.epfl.ch/cgi-bin/tequila/createrequest', body)
1416
.then((response) => {

0 commit comments

Comments
 (0)