-
Notifications
You must be signed in to change notification settings - Fork 73
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
Fixes #15608: When creating a rule via the API the id parameter is only read from url parameters, and not from json #2436
Conversation
e09bfb0
to
9643bfc
Compare
Commit modified |
} else { | ||
val restRule = restExtractor.extractRule(req.params) | ||
apiV2.createRule(restRule, req) | ||
implicit var action = "createRule" |
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.
no implicit var
please, each one is terrible for understanding, both together...
Please only implicit val
} | ||
|
||
actionResponse(response, req, "Could not create Rule", None, authzToken.actor) |
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.
Why None
here? Shouldn't it depend of the kind of response?
…ly read from url parameters, and not from json
Commit modified |
9643bfc
to
4637177
Compare
This PR is not mergeable to upper versions. |
OK, merging this PR |
https://issues.rudder.io/issues/15608