-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue 675 unsubscribe - do not delete #680
base: master
Are you sure you want to change the base?
Conversation
…sue_675_subscription
server/api/lib/challanged-file.js
Outdated
@@ -49,7 +49,7 @@ const downloadChallengedFile = (url, file, options, protocol) => { | |||
} else { | |||
// if we did get a cookie we completed the challenge successfuly and | |||
// should use it to download the file | |||
downloadChallengedFile(url, file, { | |||
downloadChallengedFile(url, file, { // set cookie header |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not related
server/api/lib/challanged-file.js
Outdated
@@ -21,13 +21,13 @@ const downloadChallengedFile = (url, file, options, protocol) => { | |||
// if we didn't get a cookie yet this is the first part of the challenge - | |||
// the page source contains the javascript code we need to run and challenge | |||
// paramters for the calculation | |||
if (!('set-cookie' in response.headers)) { | |||
if (!('set-cookie' in response.headers)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not related
throw new Exception.NotFound('Nof found'); | ||
} | ||
|
||
Log.debug('unsubscribe request for alert id:', fetchedModel.get('id')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great
No description provided.