Fix like/boost remote post (#629)
This commit is contained in:
parent
a69499c742
commit
4a9109271d
|
@ -166,11 +166,11 @@ class FanOutStates(StateGraph):
|
||||||
# Send it to the remote inbox
|
# Send it to the remote inbox
|
||||||
try:
|
try:
|
||||||
if interaction.type == interaction.Types.vote:
|
if interaction.type == interaction.Types.vote:
|
||||||
body = interaction.to_ap()
|
body = interaction.to_create_ap()
|
||||||
elif interaction.type == interaction.Types.pin:
|
elif interaction.type == interaction.Types.pin:
|
||||||
body = interaction.to_add_ap()
|
body = interaction.to_add_ap()
|
||||||
else:
|
else:
|
||||||
body = interaction.to_create_ap()
|
body = interaction.to_ap()
|
||||||
interaction.identity.signed_request(
|
interaction.identity.signed_request(
|
||||||
method="post",
|
method="post",
|
||||||
uri=(
|
uri=(
|
||||||
|
|
Loading…
Reference in New Issue