feat(housekeeping): cut over administration to ase
This commit is contained in:
@@ -37,7 +37,7 @@ export async function createBan(formData: FormData): Promise<void> {
|
||||
},
|
||||
);
|
||||
if (!result.ok) throw new Error("Could not create ban");
|
||||
revalidatePath("/admin/bans");
|
||||
revalidatePath("/ase/people/moderation/bans");
|
||||
}
|
||||
|
||||
export async function liftBan(formData: FormData): Promise<void> {
|
||||
@@ -51,5 +51,5 @@ export async function liftBan(formData: FormData): Promise<void> {
|
||||
);
|
||||
if (!result.ok) throw new Error("Could not lift ban");
|
||||
}
|
||||
revalidatePath("/admin/bans");
|
||||
revalidatePath("/ase/people/moderation/bans");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user