diff --git a/frontend/pages/api/workspace/getWorkspaces.ts b/frontend/pages/api/workspace/getWorkspaces.ts index 619041fde..33292b6ee 100644 --- a/frontend/pages/api/workspace/getWorkspaces.ts +++ b/frontend/pages/api/workspace/getWorkspaces.ts @@ -1,7 +1,13 @@ -import { Workspaces } from "types/workspaces"; - import SecurityClient from "~/utilities/SecurityClient"; +interface Workspaces { + __v: number; + _id: string; + name: string; + organization: string; +} +[]; + /** * This route lets us get the workspaces of a certain user * @returns diff --git a/frontend/types/workspaces.d.ts b/frontend/types/workspaces.d.ts deleted file mode 100644 index 7b6fab001..000000000 --- a/frontend/types/workspaces.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -export interface WorkSpace { - __v: number; - _id: string; - name: string; - organization: string; -} - -type Workspaces = WorkSpace[];