Replaces deprecated put method

This commit is contained in:
Vitor Pamplona
2024-03-01 10:39:32 -05:00
parent 87fcba02b3
commit 0653a69bbd
4 changed files with 12 additions and 12 deletions

View File

@@ -386,7 +386,7 @@ open class Event(
put("pubkey", pubKey)
put("created_at", createdAt)
put("kind", kind)
put(
replace(
"tags",
factory.arrayNode(tags.size).apply {
tags.forEach { tag ->