🔀 Merge branch 'release/v82'
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / web / pages / BookmarkPage.kt
index 1dc12e4..c03a299 100644 (file)
@@ -21,7 +21,7 @@ class BookmarkPage @Inject constructor(webInterface: WebInterface, loaders: Load
                        soneRequest.core.getPost(postId)?.let {
                                soneRequest.core.bookmarkPost(it)
                        }
-                       throw RedirectException(returnPage)
+                       redirectTo(returnPage)
                }
        }