diff --git a/lib/tool_shed/webapp/frontend/src/apiUtil.ts b/lib/tool_shed/webapp/frontend/src/apiUtil.ts index f14774767f97..9dfa3df9109d 100644 --- a/lib/tool_shed/webapp/frontend/src/apiUtil.ts +++ b/lib/tool_shed/webapp/frontend/src/apiUtil.ts @@ -2,7 +2,7 @@ import axios from "axios" import { RawAxiosRequestConfig } from "axios" import { components } from "@/schema" -type User = components["schemas"]["User"] +type User = components["schemas"]["UserV2"] export async function getCurrentUser(): Promise { const conf: RawAxiosRequestConfig = {} diff --git a/lib/tool_shed/webapp/frontend/src/components/pages/RepositoryPage.vue b/lib/tool_shed/webapp/frontend/src/components/pages/RepositoryPage.vue index 51929fc44d31..d337877ce8bd 100644 --- a/lib/tool_shed/webapp/frontend/src/components/pages/RepositoryPage.vue +++ b/lib/tool_shed/webapp/frontend/src/components/pages/RepositoryPage.vue @@ -242,7 +242,7 @@ const toolsYaml = computed( diff --git a/lib/tool_shed/webapp/frontend/src/stores/users.store.ts b/lib/tool_shed/webapp/frontend/src/stores/users.store.ts index 13cb403f801f..5e32f2042178 100644 --- a/lib/tool_shed/webapp/frontend/src/stores/users.store.ts +++ b/lib/tool_shed/webapp/frontend/src/stores/users.store.ts @@ -3,7 +3,7 @@ import { defineStore } from "pinia" import { fetcher, components } from "@/schema" const usersFetcher = fetcher.path("/api/users").method("get").create() -type User = components["schemas"]["User"] +type User = components["schemas"]["UserV2"] export const useUsersStore = defineStore({ id: "users",