diff --git a/src/Recyclarr.TrashLib/Config/Listers/ConfigTemplateLister.cs b/src/Recyclarr.TrashLib/Config/Listers/ConfigTemplateLister.cs index edac7e97..359cf6c5 100644 --- a/src/Recyclarr.TrashLib/Config/Listers/ConfigTemplateLister.cs +++ b/src/Recyclarr.TrashLib/Config/Listers/ConfigTemplateLister.cs @@ -26,7 +26,7 @@ public class ConfigTemplateLister : IConfigLister public async Task List() { - await _repoUpdater.UpdateRepo(_settings.Settings.Repositories.TrashGuide); + await _repoUpdater.UpdateRepo(_settings.Settings.Repositories.ConfigTemplates); var data = _guideService.TemplateData; diff --git a/src/Recyclarr.TrashLib/Settings/SettingsValues.cs b/src/Recyclarr.TrashLib/Settings/SettingsValues.cs index 2a8a9c3b..405a8ae8 100644 --- a/src/Recyclarr.TrashLib/Settings/SettingsValues.cs +++ b/src/Recyclarr.TrashLib/Settings/SettingsValues.cs @@ -7,7 +7,13 @@ public record TrashRepository : IRepositorySettings public Uri CloneUrl { get; [UsedImplicitly] init; } = new("https://github.com/TRaSH-/Guides.git"); public string Branch { get; [UsedImplicitly] init; } = "master"; public string? Sha1 { get; [UsedImplicitly] init; } - public string? GitPath { get; [UsedImplicitly] init; } +} + +public record ConfigTemplateRepository : IRepositorySettings +{ + public Uri CloneUrl { get; [UsedImplicitly] init; } = new("https://github.com/recyclarr/config-templates.git"); + public string Branch { get; [UsedImplicitly] init; } = "master"; + public string? Sha1 { get; [UsedImplicitly] init; } } public record LogJanitorSettings @@ -18,6 +24,7 @@ public record LogJanitorSettings public record Repositories { public TrashRepository TrashGuide { get; [UsedImplicitly] init; } = new(); + public ConfigTemplateRepository ConfigTemplates { get; [UsedImplicitly] init; } = new(); } public record SettingsValues