diff --git a/backend/middlewares/event/src/serv/event_auth_serv.rs b/backend/middlewares/event/src/serv/event_auth_serv.rs index f3064f67..68ee942d 100644 --- a/backend/middlewares/event/src/serv/event_auth_serv.rs +++ b/backend/middlewares/event/src/serv/event_auth_serv.rs @@ -27,8 +27,6 @@ impl EventAuthServ { if model.is_none() { let model: Model = Model::from_topic_auth(auth); let model: ActiveModel = model.into_active_model(); - let conn = funs.reldb().conn(); - let raw_conn = conn.raw_conn(); model.insert(raw_conn).await?; }