Skip to content

Commit

Permalink
chore(link): url and site aren't optional
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrielFR committed Jan 11, 2025
1 parent 544882f commit 1d51a7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/models/link.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ pub struct Link {
/// The thumbnail of the link.
pub thumbnail: Option<String>,
/// The URL of the link.
pub url: Option<String>,
pub url: String,
/// The site of the link.
pub site: Option<String>,
pub site: String,
/// The ID of the site of the link.
pub site_id: Option<i64>,
/// The type of the link.
Expand Down

0 comments on commit 1d51a7b

Please sign in to comment.