mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-14 03:24:04 +00:00
[Pleroma.Web.MastodonAPI.AccountView]: relationship.json: fake endorsed value (false)
This commit is contained in:
parent
43d0b7bf7a
commit
a8eaecadee
|
@ -79,7 +79,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountView do
|
||||||
muting_notifications: false,
|
muting_notifications: false,
|
||||||
requested: false,
|
requested: false,
|
||||||
domain_blocking: false,
|
domain_blocking: false,
|
||||||
showing_reblogs: false
|
showing_reblogs: false,
|
||||||
|
endorsed: false
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
|
||||||
muting_notifications: false,
|
muting_notifications: false,
|
||||||
requested: false,
|
requested: false,
|
||||||
domain_blocking: false,
|
domain_blocking: false,
|
||||||
showing_reblogs: false
|
showing_reblogs: false,
|
||||||
|
endorsed: false
|
||||||
}
|
}
|
||||||
|
|
||||||
assert expected == AccountView.render("relationship.json", %{user: user, target: other_user})
|
assert expected == AccountView.render("relationship.json", %{user: user, target: other_user})
|
||||||
|
|
Loading…
Reference in a new issue