aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Core/API/Controllers/ApplicationController.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-06-02 10:33:35 -0500
committerGitHub <noreply@github.com>2022-06-02 10:33:35 -0500
commite044a75f285b1b1bfb19631ea2eef5509714a703 (patch)
treea9bdec768dbd36d831fb655aeefd5754e96d8e87 /src/slskd/Core/API/Controllers/ApplicationController.cs
parentadf5e7800452e861903b00faa5729c92187ef3ce (diff)
parent908972ae3655973cb2d1536e12b7c2dd42437062 (diff)
downloadslskd-e044a75f285b1b1bfb19631ea2eef5509714a703.tar.gz
Merge branch 'master' into dependabot/npm_and_yarn/src/web/eventsource-1.1.1
Diffstat (limited to 'src/slskd/Core/API/Controllers/ApplicationController.cs')
-rw-r--r--src/slskd/Core/API/Controllers/ApplicationController.cs15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/slskd/Core/API/Controllers/ApplicationController.cs b/src/slskd/Core/API/Controllers/ApplicationController.cs
index cd03d96f..3cf3c0a3 100644
--- a/src/slskd/Core/API/Controllers/ApplicationController.cs
+++ b/src/slskd/Core/API/Controllers/ApplicationController.cs
@@ -136,20 +136,5 @@ namespace slskd.Core.API
return Ok();
}
-
- [HttpPut]
- [Route("shares")]
- [Authorize]
- public IActionResult RescanSharesAsync()
- {
- if (ApplicationStateMonitor.CurrentValue.SharedFileCache.Filling)
- {
- return Conflict("A share scan is already in progress.");
- }
-
- _ = Application.RescanSharesAsync();
-
- return Ok();
- }
}
}