import net.pterodactylus.sone.utils.parameters
import net.pterodactylus.sone.web.WebInterface
import net.pterodactylus.sone.web.page.FreenetRequest
import net.pterodactylus.sone.utils.parameters
import net.pterodactylus.sone.web.WebInterface
import net.pterodactylus.sone.web.page.FreenetRequest
-class UnfollowSoneAjaxPage(webInterface: WebInterface) : LoggedInJsonPage("unfollowSone.ajax", webInterface) {
+class UnfollowSoneAjaxPage @Inject constructor(webInterface: WebInterface) :
+ LoggedInJsonPage("unfollowSone.ajax", webInterface) {
override fun createJsonObject(currentSone: Sone, request: FreenetRequest) =
request.parameters["sone"]
override fun createJsonObject(currentSone: Sone, request: FreenetRequest) =
request.parameters["sone"]