mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-05-16 17:16:19 +00:00
refactor: setup project wizards with only three steps
This commit is contained in:
@@ -7,7 +7,7 @@ import type { Project } from '@/types/app';
|
||||
*/
|
||||
export const fetchWorkspaces = async (): Promise<Project[]> => {
|
||||
try {
|
||||
const response = await authenticatedFetch('/api/get-workspaces');
|
||||
const response = await authenticatedFetch('/api/projects');
|
||||
if (!response.ok) {
|
||||
throw new Error(`Failed to fetch workspaces: ${response.statusText}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user