mirror of https://github.com/usbharu/Hideout.git
fix: LikeのUndoのidが間違っていたのを修正
This commit is contained in:
parent
937a3e1a57
commit
44f3ba4537
|
@ -47,6 +47,7 @@ class ApReactionJobServiceImpl(
|
||||||
val inbox = props[DeliverRemoveReactionJob.inbox]
|
val inbox = props[DeliverRemoveReactionJob.inbox]
|
||||||
val actor = props[DeliverRemoveReactionJob.actor]
|
val actor = props[DeliverRemoveReactionJob.actor]
|
||||||
val like = objectMapper.readValue<Like>(props[DeliverRemoveReactionJob.like])
|
val like = objectMapper.readValue<Like>(props[DeliverRemoveReactionJob.like])
|
||||||
|
val id = props[DeliverRemoveReactionJob.id]
|
||||||
|
|
||||||
val signer = userQueryService.findByUrl(actor)
|
val signer = userQueryService.findByUrl(actor)
|
||||||
|
|
||||||
|
@ -56,7 +57,7 @@ class ApReactionJobServiceImpl(
|
||||||
name = "Undo Reaction",
|
name = "Undo Reaction",
|
||||||
actor = actor,
|
actor = actor,
|
||||||
`object` = like,
|
`object` = like,
|
||||||
id = "${applicationConfig.url}/undo/note/${like.id}",
|
id = "${applicationConfig.url}/undo/note/$id",
|
||||||
published = Instant.now()
|
published = Instant.now()
|
||||||
),
|
),
|
||||||
signer
|
signer
|
||||||
|
|
Loading…
Reference in New Issue