Fix like/boost remote post (#629)

This commit is contained in:
Henri Dickson 2023-08-07 11:15:13 -04:00 committed by GitHub
parent a69499c742
commit 4a9109271d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -166,11 +166,11 @@ class FanOutStates(StateGraph):
# Send it to the remote inbox
try:
if interaction.type == interaction.Types.vote:
body = interaction.to_ap()
body = interaction.to_create_ap()
elif interaction.type == interaction.Types.pin:
body = interaction.to_add_ap()
else:
body = interaction.to_create_ap()
body = interaction.to_ap()
interaction.identity.signed_request(
method="post",
uri=(