diff --git a/src/Umbraco.Web/Models/ContentEditing/AuditLog.cs b/src/Umbraco.Web/Models/ContentEditing/AuditLog.cs index acc913c40e..48c489135a 100644 --- a/src/Umbraco.Web/Models/ContentEditing/AuditLog.cs +++ b/src/Umbraco.Web/Models/ContentEditing/AuditLog.cs @@ -1,5 +1,7 @@ using System; using System.Runtime.Serialization; +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; using Umbraco.Core.Models; namespace Umbraco.Web.Models.ContentEditing @@ -21,7 +23,8 @@ namespace Umbraco.Web.Models.ContentEditing [DataMember(Name = "timestamp")] public DateTime Timestamp { get; set; } - + + [JsonConverter(typeof(StringEnumConverter))] [DataMember(Name = "logType")] public AuditType LogType { get; set; }