mirror of
https://gitlab.com/comunic/comunicapiv3
synced 2026-01-09 00:33:05 +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