fix: functions redirect

This commit is contained in:
Timothy Jaeryang Baek
2024-11-17 14:00:37 -08:00
parent 37f19f68eb
commit 9779bbfd8e
2 changed files with 2 additions and 2 deletions
@@ -59,7 +59,7 @@
if (id) {
func = await getFunctionById(localStorage.token, id).catch((error) => {
toast.error(error);
goto('/workspace/functions');
goto('/admin/functions');
return null;
});