Added lib to service

This commit is contained in:
Benjamin Sherriff
2023-10-04 19:58:54 -04:00
parent cee9dbdc81
commit ecc65222b6
20 changed files with 169 additions and 166 deletions

View File

@@ -1,8 +1,9 @@
use actix_web::{get, post, put, delete, web, HttpResponse, HttpRequest, ResponseError};
use log::error;
use serde::{Serialize, Deserialize};
use siren::{GetResponse, Metadata, ServiceError};
use crate::{db::{spells::{QuerySpell, QueryFilters}, GetResponse, Metadata}, error_handler::ServiceError};
use crate::db::spells::{QuerySpell, QueryFilters};
use super::{Spell, InsertSpell};