Skip to content

Commit 4fd3ffa

Browse files
committed
weird matching removed
1 parent b641ea7 commit 4fd3ffa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/riak_kv_wm_object.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -633,7 +633,7 @@ extract_index_fields(RD) ->
633633
content_types_provided(RD, Ctx=#ctx{method=Method, ctype=ContentType})
634634
when Method =:= 'PUT'; Method =:= 'POST' ->
635635
{[{ContentType, produce_doc_body}], RD, Ctx};
636-
content_types_provided(RD, Ctx=#ctx{method=Method}=Ctx)
636+
content_types_provided(RD, Ctx=#ctx{method=Method})
637637
when Method =:= 'DELETE' ->
638638
{[{"text/html", to_html}], RD, Ctx};
639639
content_types_provided(RD, Ctx0) ->
@@ -662,7 +662,7 @@ charsets_provided(RD, Ctx=#ctx{method=Method})
662662
Charset ->
663663
{[{Charset, fun(X) -> X end}], RD, Ctx}
664664
end;
665-
charsets_provided(RD, Ctx=#ctx{method=Method}=Ctx)
665+
charsets_provided(RD, Ctx=#ctx{method=Method})
666666
when Method =:= 'DELETE' ->
667667
{no_charset, RD, Ctx};
668668
charsets_provided(RD, Ctx0) ->

0 commit comments

Comments
 (0)