mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2025-06-21 00:45:18 +00:00
Can get the list of movies of current user
This commit is contained in:
@ -31,4 +31,8 @@ impl MovieAPI {
|
||||
size: m.size,
|
||||
}
|
||||
}
|
||||
|
||||
pub fn for_list(l: &Vec<Movie>) -> Vec<MovieAPI> {
|
||||
l.iter().map(Self::new).collect()
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user