feat(housekeeping): cut over administration to ase
This commit is contained in:
@@ -33,7 +33,7 @@ export async function createTeam(formData: FormData): Promise<void> {
|
||||
},
|
||||
);
|
||||
if (!result.ok) throw new Error("Could not create team");
|
||||
revalidatePath("/admin/teams");
|
||||
revalidatePath("/ase/people/staff/teams");
|
||||
}
|
||||
|
||||
export async function deleteTeam(formData: FormData): Promise<void> {
|
||||
@@ -49,5 +49,5 @@ export async function deleteTeam(formData: FormData): Promise<void> {
|
||||
if (!result.ok && result.error.code !== "NOT_FOUND") {
|
||||
throw new Error("Could not delete team");
|
||||
}
|
||||
revalidatePath("/admin/teams");
|
||||
revalidatePath("/ase/people/staff/teams");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user