Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Resolve conflict artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
vdavid committed Jun 19, 2024
1 parent b44c969 commit 595b144
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import type {
PreviewCreateTeamRequest,
GetSubscriptionInvoicesResponse,
ListTeamMembersResponse,
ListTeamInvitesResponse
ListTeamInvitesResponse,
} from '../types'

import { callCodyProApi } from './callCodyProApi'
Expand Down Expand Up @@ -51,7 +51,7 @@ export const useSubscriptionInvoices = (): UseQueryResult<GetSubscriptionInvoice

export const useTeamMembers = (): UseQueryResult<ListTeamMembersResponse | undefined> =>
useQuery({
queryKey: queryKeys.teams.currentTeamMembers(),
queryKey: queryKeys.teams.teamMembers(),
queryFn: async () => {
const response = await callCodyProApi(Client.getCurrentTeamMembers())
return response.ok ? response.json() : undefined
Expand All @@ -60,9 +60,9 @@ export const useTeamMembers = (): UseQueryResult<ListTeamMembersResponse | undef

export const useTeamInvites = (): UseQueryResult<ListTeamInvitesResponse | undefined> =>
useQuery({
queryKey: queryKeys.invites.currentTeamInvites(),
queryKey: queryKeys.invites.teamInvites(),
queryFn: async () => {
const response = await callCodyProApi(Client.getCurrentTeamInvites())
const response = await callCodyProApi(Client.getTeamInvites())
return response.ok ? response.json() : undefined
},
})
Expand Down

0 comments on commit 595b144

Please sign in to comment.