diff --git a/crates/server/src/model/share.rs b/crates/server/src/model/share.rs index 6b1089a..572bb32 100644 --- a/crates/server/src/model/share.rs +++ b/crates/server/src/model/share.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; use uuid::Uuid; -#[derive(Debug, Serialize, Deserialize, sqlx::FromRow)] +#[derive(Debug, Serialize, Deserialize)] pub struct Share { pub id: Uuid, pub json: String, diff --git a/crates/server/src/routes/shares.rs b/crates/server/src/routes/shares.rs index 1449609..ab3a245 100644 --- a/crates/server/src/routes/shares.rs +++ b/crates/server/src/routes/shares.rs @@ -5,7 +5,7 @@ use axum::{ routing::{get, post}, Json, Router, }; -use serde::{Deserialize, Serialize}; +use serde::Deserialize; use uuid::Uuid; use crate::{model::share::Share, services::share::ShareService, AppState};