Add guard to /redeem
This commit is contained in:
1 file changed
+1
-1
@@ -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<PgPool>,
|
||||
|
||||
Reference in new issue
Block a user