Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
ksavosteev committed Nov 19, 2024
1 parent 2d03c1f commit 5d19392
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected override List<ISchemaBuilder> GetSchemaBuilders()
{
var schemaBuilders = base.GetSchemaBuilders();

// find all builders with inside this project
// find all builders inside this assembly
var currentAssembly = typeof(TMarker).Assembly;

var subSchemaBuilders = schemaBuilders
Expand Down
5 changes: 2 additions & 3 deletions src/VirtoCommerce.Xapi.Web/Module.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using VirtoCommerce.Platform.Core.Modularity;
using VirtoCommerce.Platform.Core.Settings;
using VirtoCommerce.TaxModule.Core.Model;
using VirtoCommerce.Xapi.Core;
using VirtoCommerce.Xapi.Core.Extensions;
using VirtoCommerce.Xapi.Core.Infrastructure;
using VirtoCommerce.Xapi.Core.Infrastructure.Validation;
Expand Down Expand Up @@ -90,8 +89,8 @@ public void PostInitialize(IApplicationBuilder appBuilder)

// settings
var settingsRegistrar = serviceProvider.GetRequiredService<ISettingsRegistrar>();
settingsRegistrar.RegisterSettings(ModuleConstants.Settings.General.AllSettings, ModuleInfo.Id);
settingsRegistrar.RegisterSettingsForType(ModuleConstants.Settings.StoreLevelSettings, nameof(Store));
settingsRegistrar.RegisterSettings(Settings.General.AllSettings, ModuleInfo.Id);
settingsRegistrar.RegisterSettingsForType(Settings.StoreLevelSettings, nameof(Store));
}

public void Uninstall()
Expand Down

0 comments on commit 5d19392

Please sign in to comment.