From c16d0b77c2d46d64397f132e01109475e70946de Mon Sep 17 00:00:00 2001 From: Lars-Erik Aabech Date: Fri, 27 Nov 2015 12:59:15 +0100 Subject: [PATCH] Actually save the domain --- src/Umbraco.Web/WebServices/DomainsApiController.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Umbraco.Web/WebServices/DomainsApiController.cs b/src/Umbraco.Web/WebServices/DomainsApiController.cs index 8c146f2670..3ea24135a7 100644 --- a/src/Umbraco.Web/WebServices/DomainsApiController.cs +++ b/src/Umbraco.Web/WebServices/DomainsApiController.cs @@ -114,7 +114,10 @@ namespace Umbraco.Web.WebServices names.Add(name); var domain = domains.FirstOrDefault(d => d.DomainName.InvariantEquals(domainModel.Name)); if (domain != null) + { domain.LanguageId = language.Id; + Services.DomainService.Save(domain); + } else if (Services.DomainService.Exists(domainModel.Name)) { domainModel.Duplicate = true;