Fix response
This commit is contained in:
parent
f89728ad95
commit
384b7dd40d
|
@ -438,7 +438,7 @@ def get_password_reset(conn, %{"nickname" => nickname}) do
|
|||
conn
|
||||
|> json(%{
|
||||
token: token.token,
|
||||
link: "#{protocol}://#{host}/api/pleroma/password_reset/#{token}"
|
||||
link: "#{protocol}://#{host}/api/pleroma/password_reset/#{token.token}"
|
||||
})
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue