Update jackson dependency to 2.9.1
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / ajax / GetTimesAjaxPage.kt
index 6930e45..fb2592e 100644 (file)
@@ -43,7 +43,7 @@ class GetTimesAjaxPage(webInterface: WebInterface,
                                        "tooltip" to synchronized(dateTimeFormatter) {
                                                dateTimeFormatter.format(time)
                                        })
-               }.forEach { this@jsonObject.put(it.first, it.second) }
+               }.forEach { this@jsonObject.set(it.first, it.second) }
        }
 
 }