We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3ae667 commit 5113817Copy full SHA for 5113817
src/routes/JobCandidateRoutes.js
@@ -47,13 +47,9 @@ module.exports = {
47
'/jobCandidates/:id/resume': {
48
get: {
49
controller: 'JobCandidateController',
50
- method: 'downloadJobCandidateResume'
51
- // TODO: we have to protect this endpoint somehow
52
- // but at the moment in the client app we are clicking this link
53
- // as a regular download link and we cannot pass JWT token to it
54
- // how to deal with it?
55
- // auth: 'jwt',
56
- // scopes: [constants.Scopes.READ_JOB_CANDIDATE, constants.Scopes.ALL_JOB_CANDIDATE]
+ method: 'downloadJobCandidateResume',
+ auth: 'jwt',
+ scopes: [constants.Scopes.READ_JOB_CANDIDATE, constants.Scopes.ALL_JOB_CANDIDATE]
57
}
58
59
0 commit comments