fix uploader change error

This commit is contained in:
Luna D 2020-04-30 21:24:29 +02:00 committed by byte[]
parent 22bd05350d
commit f5e249aa39

View file

@ -259,7 +259,7 @@ defmodule Philomena.Images.Image do
nil
end
image
change(image)
|> put_change(:user_id, user_id)
|> put_change(:ip, %Postgrex.INET{address: {127, 0, 0, 1}, netmask: 32})
|> put_change(:fingerprint, "ffff")