Skip to content

Commit

Permalink
Fix issues reported by yarn build
Browse files Browse the repository at this point in the history
Introduced in galaxyproject#16787 .
  • Loading branch information
nsoranzo committed Oct 10, 2023
1 parent bd50ea3 commit 663b520
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/tool_shed/webapp/frontend/src/apiUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<User | null> {
const conf: RawAxiosRequestConfig<unknown> = {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ const toolsYaml = computed(
<revision-actions
:repository-id="repositoryId"
:current-metadata="currentMetadata"
v-if="currentMetadata && can_manage"
v-if="currentMetadata && canManage"
@update="onUpdate"
/>
</revision-select>
Expand Down
2 changes: 1 addition & 1 deletion lib/tool_shed/webapp/frontend/src/stores/users.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 663b520

Please sign in to comment.