diff options
Diffstat (limited to 'src/server/lib/getURLOfUser.js')
-rw-r--r-- | src/server/lib/getURLOfUser.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/lib/getURLOfUser.js b/src/server/lib/getURLOfUser.js index 2de48e6..82b0180 100644 --- a/src/server/lib/getURLOfUser.js +++ b/src/server/lib/getURLOfUser.js @@ -1,8 +1,8 @@ -const leftPad = require('left-pad') // I imported this just to piss you off ;) +const leftPad = require('left-pad'); // I imported this just to piss you off ;) -function getURLOfUser (type, index, week) { - return `http://www.meetingpointmco.nl/Roosters-AL/doc/dagroosters/` + - `${leftPad(week, 2, '0')}/${type}/${type}${leftPad(index + 1, 5, '0')}.htm` +function getURLOfUser(type, index, week) { + return 'http://www.meetingpointmco.nl/Roosters-AL/doc/dagroosters/' + + `${leftPad(week, 2, '0')}/${type}/${type}${leftPad(index + 1, 5, '0')}.htm`; } -module.exports = getURLOfUser +module.exports = getURLOfUser; |