mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Reformat and apply Stylecop rules
This commit is contained in:
@@ -23,7 +23,10 @@ namespace Radarr.Api.V3.Notifications
|
||||
{
|
||||
public override NotificationResource ToResource(NotificationDefinition definition)
|
||||
{
|
||||
if (definition == null) return default(NotificationResource);
|
||||
if (definition == null)
|
||||
{
|
||||
return default(NotificationResource);
|
||||
}
|
||||
|
||||
var resource = base.ToResource(definition);
|
||||
|
||||
@@ -44,7 +47,10 @@ namespace Radarr.Api.V3.Notifications
|
||||
|
||||
public override NotificationDefinition ToModel(NotificationResource resource)
|
||||
{
|
||||
if (resource == null) return default(NotificationDefinition);
|
||||
if (resource == null)
|
||||
{
|
||||
return default(NotificationDefinition);
|
||||
}
|
||||
|
||||
var definition = base.ToModel(resource);
|
||||
|
||||
|
Reference in New Issue
Block a user