Update src/main/kotlin/dev/usbharu/hideout/service/ap/APNoteService.kt

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
usbharu 2023-10-10 18:52:45 +09:00 committed by GitHub
parent cb72ac747f
commit 3bd8cfc02b
1 changed files with 3 additions and 1 deletions

View File

@ -80,7 +80,9 @@ class APNoteServiceImpl(
val actor = props[DeliverPostJob.actor]
val postEntity = objectMapper.readValue<Post>(props[DeliverPostJob.post])
val mediaList =
objectMapper.readValue<List<dev.usbharu.hideout.domain.model.hideout.entity.Media>>(props[DeliverPostJob.media])
objectMapper.readValue<List<dev.usbharu.hideout.domain.model.hideout.entity.Media>>(
props[DeliverPostJob.media]
)
val note = Note(
name = "Note",
id = postEntity.url,