fix: use comment instead of post
This commit is contained in:
1 file changed
+1
-1
@@ -5,7 +5,7 @@ import { redirect } from '@sveltejs/kit'
|
|||||||
|
|
||||||
export async function load({ params, fetch }) {
|
export async function load({ params, fetch }) {
|
||||||
if (profile.data.instance != params.instance)
|
if (profile.data.instance != params.instance)
|
||||||
redirect(302, resolveRoute('/post/[instance]/[id]/confirm', params))
|
redirect(302, resolveRoute('/comment/[instance]/[id]/confirm', params))
|
||||||
|
|
||||||
const comment = await client({
|
const comment = await client({
|
||||||
instanceURL: profile.data.instance,
|
instanceURL: profile.data.instance,
|
||||||
|
|||||||
Reference in new issue
Block a user