Fix response
This commit is contained in:
parent
f89728ad95
commit
384b7dd40d
1 changed files with 1 additions and 1 deletions
|
@ -438,7 +438,7 @@ def get_password_reset(conn, %{"nickname" => nickname}) do
|
||||||
conn
|
conn
|
||||||
|> json(%{
|
|> json(%{
|
||||||
token: token.token,
|
token: token.token,
|
||||||
link: "#{protocol}://#{host}/api/pleroma/password_reset/#{token}"
|
link: "#{protocol}://#{host}/api/pleroma/password_reset/#{token.token}"
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue