rework some imports

This commit is contained in:
Reid 2023-10-17 17:25:56 -07:00
parent 7024a1fa28
commit a5cac129dd
Signed by: reidlab
GPG key ID: 6C9EAA3364F962C8
13 changed files with 41 additions and 51 deletions

View file

@ -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();