Add guard to /redeem
This commit is contained in:
@@ -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