From b603f96ec58410287f4a6f4eb108bfb2f53b5e86 Mon Sep 17 00:00:00 2001
From: eee4 <41441600+eee4@users.noreply.github.com>
Date: Thu, 24 Jul 2025 13:57:31 +0200
Subject: [PATCH] fix: de-authorize endpoint for history retrieval
---
Controllers/QuoteController.cs | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/Controllers/QuoteController.cs b/Controllers/QuoteController.cs
index 8e6ed28..6daa5fd 100644
--- a/Controllers/QuoteController.cs
+++ b/Controllers/QuoteController.cs
@@ -125,14 +125,13 @@ public class QuotesController : ControllerBase
/// [AUTHED] Get specified quote summary
///
///
- /// As per project's guidelines, requires a JWT.
+ /// As per project's guidelines, requires a JWT. We need this endpoint to check previous draws for draw history.
///
/// The quote id in question
/// A quote: id, quote content and author, imageUrl and categories if successful, otherwise: error message
/// Returned on valid request
/// Returned when quote id is invalid or simply doesn't exist
[HttpGet("{id}")]
- [Authorize]
[ProducesResponseType(typeof(QuoteShortDTO), 200)]
[ProducesResponseType(typeof(ErrorDTO), 404)]
public async Task GetQuoteById(int id)