mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
Convert functions and properties to expression bodies when able (#7312)
Convert functions and properties to expression bodies when able
This commit is contained in:
@@ -56,10 +56,7 @@ namespace Jackett.Server.Controllers
|
||||
}
|
||||
|
||||
[HttpPost]
|
||||
public void Update()
|
||||
{
|
||||
updater.CheckForUpdatesNow();
|
||||
}
|
||||
public void Update() => updater.CheckForUpdatesNow();
|
||||
|
||||
[HttpGet]
|
||||
public Common.Models.DTO.ServerConfig Config()
|
||||
@@ -202,9 +199,6 @@ namespace Jackett.Server.Controllers
|
||||
}
|
||||
|
||||
[HttpGet]
|
||||
public List<CachedLog> Logs()
|
||||
{
|
||||
return logCache.Logs;
|
||||
}
|
||||
public List<CachedLog> Logs() => logCache.Logs;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user