Apply Changes

This commit is contained in:
C0D3 M4513R
2024-05-28 11:53:18 +02:00
parent 754303ddb5
commit e8d22273ea
15 changed files with 492 additions and 26 deletions

View File

@ -18,11 +18,11 @@ pub struct AddFavoriteRequest {
pub favorite_id: String,
/// Tags indicate which group this favorite belongs to. Adding multiple groups makes it show up in all. Removing it from one in that case removes it from all.
#[serde(rename = "tags")]
pub tags: Vec<String>,
pub tags: Vec<crate::models::tags::Tags>,
}
impl AddFavoriteRequest {
pub fn new(r#type: crate::models::FavoriteType, favorite_id: String, tags: Vec<String>) -> AddFavoriteRequest {
pub fn new(r#type: crate::models::FavoriteType, favorite_id: String, tags: Vec<crate::models::tags::Tags>) -> AddFavoriteRequest {
AddFavoriteRequest {
r#type,
favorite_id,