mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 04:39:16 +02:00
Fixed crashing nodeinfo fetching when remote answers with invalid JSON
This commit is contained in:
parent
62939d6826
commit
d39edae061
3 changed files with 3 additions and 3 deletions
|
@ -371,7 +371,7 @@ class ManageDomainViewSet(
|
|||
|
||||
def perform_create(self, serializer):
|
||||
domain = serializer.save()
|
||||
federation_tasks.update_domain_nodeinfo.delay(domain_name=domain.name)
|
||||
federation_tasks.update_domain_nodeinfo(domain_name=domain.name)
|
||||
|
||||
@rest_decorators.action(methods=["get"], detail=True)
|
||||
def nodeinfo(self, request, *args, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue