Commits

Anonymous committed 2a42dda

bucket_mod should be an atom in the bucket props, not a binary

  • Participants
  • Parent commits f93999e

Comments (0)

Files changed (1)

src/jiak_resource.erl

                             case catch list_to_existing_atom(binary_to_list(BMStr)) of
                                 BM when is_atom(BM) ->
                                     {false, ReqData,
-                                     Context#ctx{incoming=[{<<"bucket_mod">>, BM}]}};
+                                     Context#ctx{incoming=[{bucket_mod, BM}]}};
                                 _ ->
                                     {true,
                                      wrq:append_to_response_body(