Remove to_base from the Accept object class as it was uselessly returning the accepted Follow to the client

jsonld-outbound
Alain St-Denis 2022-12-10 15:14:18 +00:00
rodzic 6b690f26fa
commit 7b2de4811c
1 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -1206,10 +1206,6 @@ class Like(Announce):
# inbound Accept is a noop...
class Accept(Create, base.Accept):
def to_base(self):
del self.object_
return self
class Meta:
rdf_type = as2.Accept
exclude = ('created_at',)