Skip to content

Commit d4e2a09

Browse files
committed
Small refactoring
1 parent 8f6dd26 commit d4e2a09

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/Umbraco.Cms.Integrations.Search.Algolia/Migrations/UpdateAlgoliaIndicesPostUpgrade.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ private class AlgoliaMigrationIndexData
6868
public IEnumerable<AlgoliaMigrationIndexProperty> Properties { get; set; }
6969
}
7070

71-
public class AlgoliaMigrationIndexContentType
71+
private class AlgoliaMigrationIndexContentType
7272
{
7373
[JsonPropertyName("alias")]
7474
public string Alias { get; set; }
@@ -80,7 +80,7 @@ public class AlgoliaMigrationIndexContentType
8080
public string Icon { get; set; }
8181
}
8282

83-
public class AlgoliaMigrationIndexProperty
83+
private class AlgoliaMigrationIndexProperty
8484
{
8585
[JsonPropertyName("alias")]
8686
public string Alias { get; set; }

src/Umbraco.Cms.Integrations.Search.Algolia/Models/ContentTypeDtos/ContentTypeDto.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
using System.Text.Json.Serialization;
2-
3-
namespace Umbraco.Cms.Integrations.Search.Algolia.Models.ContentTypeDtos
1+
namespace Umbraco.Cms.Integrations.Search.Algolia.Models.ContentTypeDtos
42
{
53
public class ContentTypeDto
64
{

0 commit comments

Comments
 (0)