rework some imports
This commit is contained in:
parent
7024a1fa28
commit
a5cac129dd
13 changed files with 41 additions and 51 deletions
|
@ -27,9 +27,8 @@ pub struct FormDownloadLevel {
|
|||
pub fn download_level(input: Form<FormDownloadLevel>) -> status::Custom<&'static str> {
|
||||
let connection = &mut db::establish_connection_pg();
|
||||
|
||||
use crate::schema::{levels, users};
|
||||
|
||||
use crate::models::{Level, User};
|
||||
use db::schema::{levels, users};
|
||||
use db::models::{Level, User};
|
||||
|
||||
let mut response: Vec<String> = Vec::new();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue