From b65a16adffdcdf76c5af0d567a56635b3ffe7d64 Mon Sep 17 00:00:00 2001 From: fetch Date: Mon, 4 Aug 2025 19:48:55 -0400 Subject: [PATCH] Add guard to /redeem --- apps/labrinth/src/routes/internal/medal.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/labrinth/src/routes/internal/medal.rs b/apps/labrinth/src/routes/internal/medal.rs index 5b2cb8184..2f5e55b14 100644 --- a/apps/labrinth/src/routes/internal/medal.rs +++ b/apps/labrinth/src/routes/internal/medal.rs @@ -45,7 +45,7 @@ pub async fn verify( } } -#[post("redeem")] +#[post("redeem", guard = "medal_key_guard")] pub async fn redeem( _req: HttpRequest, _pool: web::Data,