Skip to content

Commit

Permalink
fix build after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
Mydayyy committed Jul 25, 2024
1 parent 90b333e commit 5303e93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ impl API {
}
}

pub fn base(&self) -> &Url {
&self.base
pub fn base(&self) -> Url {
self.base.clone()
}
}
3 changes: 2 additions & 1 deletion src/privatebin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub enum PasteFormat {
}

#[skip_serializing_none]
#[derive(Deserialize, Debug, Serialize)]
#[derive(Default, Deserialize, Debug, Serialize)]
#[cfg_attr(feature = "uniffi", derive(uniffi::Object))]
pub struct Paste {
pub status: Option<i32>,
Expand Down Expand Up @@ -170,6 +170,7 @@ pub type CommentsAdjacencyMap = HashMap<String, Vec<String>>;


#[derive(Deserialize, Debug, Serialize, Clone)]
#[cfg_attr(feature = "uniffi", derive(uniffi::Object))]
pub struct PostCommentResponse {
pub id: String,
pub status: u32,
Expand Down

0 comments on commit 5303e93

Please sign in to comment.