✨(plugin) add CommuneCreation plugin
Add E2E test to cover the API integration, access grant &c.
This commit is contained in:
committed by
Laurent Bossavit
parent
471f69d4ec
commit
a68f8171cb
@@ -250,7 +250,7 @@ class CommuneCreation(BaseOrganizationPlugin):
|
||||
zone_name = orga.name.lower() + ".collectivite.fr"
|
||||
|
||||
try:
|
||||
domain = MailDomain.objects.get(domain=zone_name)
|
||||
domain = MailDomain.objects.get(name=zone_name)
|
||||
except MailDomain.DoesNotExist:
|
||||
domain = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user