Skip to content

Commit a5e5087

Browse files
Refactor BackgroundTasksController: reorder using directives and update cache flushing logic
1 parent 22a5096 commit a5e5087

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

hasheous/Controllers/V1.0/BackgroundTasksController.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
using Microsoft.AspNetCore.Mvc;
21
using Classes;
3-
using Microsoft.AspNetCore.Authorization;
42
using Classes.ProcessQueue;
3+
using Microsoft.AspNetCore.Authorization;
4+
using Microsoft.AspNetCore.Mvc;
55

66
namespace hasheous_server.Controllers.v1_0
77
{
@@ -85,7 +85,7 @@ public IActionResult FlushCache()
8585
{
8686
if (Config.RedisConfiguration.Enabled == true)
8787
{
88-
hasheous.Classes.RedisConnection.PurgeCache();
88+
_ = hasheous.Classes.RedisConnection.PurgeCache();
8989
}
9090

9191
return Ok();

0 commit comments

Comments
 (0)