Skip to content
Snippets Groups Projects
Verified Commit cbf9f74e authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fixed 500 error when adding domain without nodeinfo

parent aa368ec5
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment