Fixed voice work updater bug. Added integration tests for voice work search updates (Japanese).
This commit is contained in:
13
JSMR.Infrastructure/Scanning/VoiceWorkScannerRepository.cs
Normal file
13
JSMR.Infrastructure/Scanning/VoiceWorkScannerRepository.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using JSMR.Application.Enums;
|
||||
using JSMR.Application.Scanning.Ports;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
|
||||
namespace JSMR.Infrastructure.Scanning;
|
||||
|
||||
public class VoiceWorkScannerRepository(IServiceProvider serviceProvider) : IVoiceWorkScannerRepository
|
||||
{
|
||||
public IVoiceWorksScanner? GetScanner(Locale locale)
|
||||
{
|
||||
return serviceProvider.GetKeyedService<IVoiceWorksScanner>(locale);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user