[Clean & Fix]
This commit is contained in:
parent
3b218411d0
commit
401d4890dc
7 changed files with 205 additions and 99 deletions
|
|
@ -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>,
|
||||
_payload: web::Json<Value>,
|
||||
) -> impl Responder {
|
||||
if !is_allowed_req(&req, *ssl.get_ref()) {
|
||||
return forbidden();
|
||||
|
|
|
|||
Loading…
Reference in a new issue