mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-17 21:41:20 +00:00
fix: mod importy
This commit is contained in:
parent
44b4310ddf
commit
9eaf0eb347
3 changed files with 5 additions and 0 deletions
|
|
@ -5,6 +5,7 @@ use rocket::request::{self, FromRequest, Request};
|
|||
use rocket::response::status;
|
||||
use rocket_contrib::json::Json;
|
||||
|
||||
use portfolio_core::token::candidate_token::CandidateToken;
|
||||
use portfolio_core::token::decode_candidate_token;
|
||||
|
||||
impl<'a, 'r> FromRequest<'a, 'r> for UserToken {
|
||||
|
|
|
|||
1
api/src/guard/mod.rs
Normal file
1
api/src/guard/mod.rs
Normal file
|
|
@ -0,0 +1 @@
|
|||
pub mod candidate_jwt;
|
||||
|
|
@ -9,7 +9,10 @@ use portfolio_core::{Mutation};
|
|||
use migration::{MigratorTrait};
|
||||
use sea_orm_rocket::{Connection, Database};
|
||||
|
||||
|
||||
mod pool;
|
||||
mod guard;
|
||||
|
||||
use pool::Db;
|
||||
|
||||
pub use entity::candidate;
|
||||
|
|
|
|||
Loading…
Reference in a new issue