From e70867ce1b62f3a15f8aa2ca6b4b0a3668530609 Mon Sep 17 00:00:00 2001 From: hueckidom Date: Wed, 28 Aug 2024 08:34:56 +0200 Subject: [PATCH] Http Get to delete (tmp) --- service/src/PingPong/Controllers/ScoreController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/src/PingPong/Controllers/ScoreController.cs b/service/src/PingPong/Controllers/ScoreController.cs index 8ddc539..f20dafd 100644 --- a/service/src/PingPong/Controllers/ScoreController.cs +++ b/service/src/PingPong/Controllers/ScoreController.cs @@ -15,8 +15,8 @@ public ScoreController(ScoreService scoreService) _scoreService = scoreService; } - [HttpDelete(nameof(DeleteScores))] - public IActionResult DeleteScores([FromQuery] string password) + [HttpGet(nameof(DeleteScores))] + public IActionResult DeleteScores() { try {