Skip to content

Commit

Permalink
feat(server): rename shares to share
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgehermo9 committed Oct 6, 2024
1 parent 8e32cbc commit be59905
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/server/src/model/share.rs
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
2 changes: 1 addition & 1 deletion crates/server/src/routes/shares.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit be59905

Please sign in to comment.