fix: LikeのUndoのidが間違っていたのを修正

This commit is contained in:
usbharu 2023-10-31 18:10:20 +09:00
parent adc477998b
commit 3ad36109e0
1 changed files with 2 additions and 1 deletions

View File

@ -47,6 +47,7 @@ class ApReactionJobServiceImpl(
val inbox = props[DeliverRemoveReactionJob.inbox]
val actor = props[DeliverRemoveReactionJob.actor]
val like = objectMapper.readValue<Like>(props[DeliverRemoveReactionJob.like])
val id = props[DeliverRemoveReactionJob.id]
val signer = userQueryService.findByUrl(actor)
@ -56,7 +57,7 @@ class ApReactionJobServiceImpl(
name = "Undo Reaction",
actor = actor,
`object` = like,
id = "${applicationConfig.url}/undo/note/${like.id}",
id = "${applicationConfig.url}/undo/note/$id",
published = Instant.now()
),
signer