mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-05 11:39:25 +02:00
Fixed 500 error when adding domain without nodeinfo
This commit is contained in:
parent
aa368ec5eb
commit
cbf9f74e49
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ class ManageDomainViewSet(
|
|||
|
||||
def perform_create(self, serializer):
|
||||
domain = serializer.save()
|
||||
federation_tasks.update_domain_nodeinfo(domain_name=domain.name)
|
||||
federation_tasks.update_domain_nodeinfo.delay(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