Skip to content

Commit

Permalink
fix(Functions): use :patch in modify_current_user/1
Browse files Browse the repository at this point in the history
  • Loading branch information
SpaceEEC committed Sep 21, 2019
1 parent e17e508 commit 23deae3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rest/functions.ex
Original file line number Diff line number Diff line change
Expand Up @@ -1179,7 +1179,7 @@ defmodule Crux.Rest.Functions do
|> Map.new()
|> Util.resolve_image_in_map(:avatar)

:post
:patch
|> Request.new(path, data)
|> Request.set_transform(User)
end
Expand Down

0 comments on commit 23deae3

Please sign in to comment.