(destination, token, config)
| 370 | } |
| 371 | |
| 372 | function buildEmailLink(destination, token, config) { |
| 373 | token = `token=${token}`; |
| 374 | if (config.parseFrameURL) { |
| 375 | const destinationWithoutHost = destination.replace(config.publicServerURL, ''); |
| 376 | |
| 377 | return `${config.parseFrameURL}?link=${encodeURIComponent(destinationWithoutHost)}&${token}`; |
| 378 | } else { |
| 379 | return `${destination}?${token}`; |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | export default UserController; |
no outgoing calls
no test coverage detected
searching dependent graphs…