Skip to content

Commit

Permalink
Temporary fix for stormpath#1331.
Browse files Browse the repository at this point in the history
  • Loading branch information
RodrigoQuesadaDev committed May 23, 2017
1 parent d24e0f7 commit d615211
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -474,9 +474,9 @@ public ResourceDataResult filter(final ResourceDataRequest req) {

// if this is an Okta user, we must use a PUT and not a POST
HttpMethod method = HttpMethod.POST;
if (href.matches(".*\\/api\\/v1\\/users\\/\\w*$") && !create) {
/*if (href.matches(".*\\/api\\/v1\\/users\\/\\w*$") && !create) {
method = HttpMethod.PUT;
}
}*/
Request request = new DefaultRequest(method, href, qs, httpHeaders, body, length);

Response response = execute(request);
Expand Down

0 comments on commit d615211

Please sign in to comment.