-
Notifications
You must be signed in to change notification settings - Fork 5
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
Allow to provide/inject URL parameters on OCS urls too #210
Conversation
8e89dac
to
cb7f760
Compare
cb7f760
to
1381574
Compare
Signed-off-by: Joas Schilling <coding@schilljs.com>
1381574
to
1996e60
Compare
Signed-off-by: Joas Schilling <coding@schilljs.com>
ocsVersion: 2 | ||
}, options || {}) | ||
|
||
const version = (allOptions.ocsVersion === 1) ? 1 : 2 |
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.
in theory we can now just use allOptions.ocsVersion
as it's documented to be a number. If anyone specifies otherwise it's their fault if the function returns an invalid URL
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.
Looks good
Fix #194
Fix #209