Skip to content

Commit

Permalink
clients/web: update license key calls following SDK update
Browse files Browse the repository at this point in the history
  • Loading branch information
frankie567 committed Aug 30, 2024
1 parent 2fe0ba8 commit 1df2911
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const LicenseKey = ({
}

const onDeactivate = async (activationId: string) => {
await api.users.deactivateLicenseKey({
await api.usersLicenseKeys.deactivate({
body: {
key: licenseKey.key,
organization_id: licenseKey.organization_id,
Expand Down
2 changes: 1 addition & 1 deletion clients/apps/web/src/hooks/queries/license_keys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const useLicenseKey = ({ licenseKeyId }: GetLicenseKeysRequest) =>
useQuery({
queryKey: ['user', 'license_key', licenseKeyId],
queryFn: () =>
api.users.getLicenseKey({
api.usersLicenseKeys.get({
id: licenseKeyId,
}),
retry: defaultRetry,
Expand Down

0 comments on commit 1df2911

Please sign in to comment.