#208 fixing poet image url in the output model
This commit is contained in:
parent
83edc2f777
commit
d71f183354
@ -157,7 +157,7 @@ namespace RMuseum.Services.Implementation
|
||||
{
|
||||
Id = bookmark.Id,
|
||||
PoetName = bookmark.Poem.Cat.Poet.Nickname,
|
||||
PoetImageUrl = $"{WebServiceUrl.Url}{$"/api/rimages/{bookmark.Poem.Cat.Poet.RImageId}.jpg"}",
|
||||
PoetImageUrl = $"{WebServiceUrl.Url}{$"/api/poet/image/{bookmark.Poem.FullUrl.Substring(1, bookmark.Poem.FullUrl.IndexOf('/', 1) - 1)}.gif"}",
|
||||
PoemFullTitle = bookmark.Poem.FullTitle,
|
||||
PoemFullUrl = bookmark.Poem.FullUrl,
|
||||
CoupletIndex = bookmark.CoupletIndex,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user