mirror of https://github.com/usbharu/Hideout.git
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:
parent
cb72ac747f
commit
3bd8cfc02b
|
@ -80,7 +80,9 @@ class APNoteServiceImpl(
|
||||||
val actor = props[DeliverPostJob.actor]
|
val actor = props[DeliverPostJob.actor]
|
||||||
val postEntity = objectMapper.readValue<Post>(props[DeliverPostJob.post])
|
val postEntity = objectMapper.readValue<Post>(props[DeliverPostJob.post])
|
||||||
val mediaList =
|
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(
|
val note = Note(
|
||||||
name = "Note",
|
name = "Note",
|
||||||
id = postEntity.url,
|
id = postEntity.url,
|
||||||
|
|
Loading…
Reference in New Issue