mirror of
https://github.com/Readarr/Readarr
synced 2026-01-30 11:23:00 +01:00
Fixed: Provider health checks persist after add until next scheduled check
(cherry picked from commit 202449c40c82c6dfd2d15844c578436bbe3c8872) Closes #2485
This commit is contained in:
parent
3f58693780
commit
2f7d7fb220
1 changed files with 4 additions and 3 deletions
|
|
@ -103,9 +103,10 @@ public TProviderDefinition Get(int id)
|
|||
|
||||
public virtual TProviderDefinition Create(TProviderDefinition definition)
|
||||
{
|
||||
var addedDefinition = _providerRepository.Insert(definition);
|
||||
_eventAggregator.PublishEvent(new ProviderAddedEvent<TProvider>(definition));
|
||||
return addedDefinition;
|
||||
var result = _providerRepository.Insert(definition);
|
||||
_eventAggregator.PublishEvent(new ProviderAddedEvent<TProvider>(result));
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public virtual void Update(TProviderDefinition definition)
|
||||
|
|
|
|||
Loading…
Reference in a new issue