Expose core as member of JsonPage
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / ajax / MoveProfileFieldAjaxPage.kt
index e2b039b..1c050bf 100644 (file)
@@ -31,7 +31,7 @@ class MoveProfileFieldAjaxPage(webInterface: WebInterface) : LoggedInJsonPage("m
                                        else -> null
                                }?.let {
                                        currentSone.profile = profile
-                                       webInterface.core.touchConfiguration()
+                                       core.touchConfiguration()
                                        createSuccessJsonObject()
                                } ?: createErrorJsonObject("invalid-direction")
                        } catch (e: IllegalArgumentException) {