mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 03:11:10 +00:00
Adds media library cover image
This commit is contained in:
1 parent
89debaeaad
commit
666a739b1d
43 files changed
+1170
-94
No files matched your search
+3
-4
@@ -17,15 +17,14 @@ public static class AddMediaLibraryRequestMapping
|
||||
/// Converts <paramref name="request"/> to <see cref="AddLibraryCommand"/>.
|
||||
/// </summary>
|
||||
/// <param name="request">The request to be converted.</param>
|
||||
/// <param name="userId">The Id of the user owning the media library.</param>
|
||||
/// <returns>The converted command.</returns>
|
||||
public static AddLibraryCommand ToCommand(this AddLibraryRequest request, Guid userId)
|
||||
public static AddLibraryCommand ToCommand(this AddLibraryRequest request)
|
||||
{
|
||||
return new AddLibraryCommand(
|
||||
userId,
|
||||
request.Title,
|
||||
request.LibraryType,
|
||||
request.ContentLocations
|
||||
request.ContentLocations,
|
||||
request.CoverImage
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user