refactor: session service

visible only in services mod
This commit is contained in:
Sebastian Pravda 2022-11-01 19:25:36 +01:00
parent c37d6b970e
commit 9a422a17cd
No known key found for this signature in database
GPG key ID: F3BC84F08EFA3F57

View file

@ -6,7 +6,7 @@ use sea_orm::{DatabaseConnection, prelude::Uuid, ModelTrait};
use crate::{crypto::{self}, Query, error::{ServiceError}, Mutation};
// TODO: generics
pub(crate) struct SessionService;
pub(in crate::services) struct SessionService;
impl SessionService {
/// Delete n old sessions for user