Added allows for unused things.

This commit is contained in:
Jonathan Wanke 2026-04-10 00:36:46 +02:00
commit 39b6351c85
7 changed files with 11 additions and 11 deletions

View file

@ -70,7 +70,7 @@ async fn communities_get(req: HttpRequest, ssl: web::Data<bool>) -> impl Respond
async fn communities_add(
req: HttpRequest,
ssl: web::Data<bool>,
payload: web::Json<Value>,
#[allow(unused_variables)] payload: web::Json<Value>,
) -> impl Responder {
if !is_allowed_req(&req, *ssl.get_ref()) {
return forbidden();