Skip to content

Commit

Permalink
Merge pull request #68 from kinde-oss/fix/build-error
Browse files Browse the repository at this point in the history
fix: build error
  • Loading branch information
DanielRivers authored Jun 6, 2024
2 parents 6045762 + e6b8d0e commit e527108
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/createKindeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import type {
KindeUser,
OrgOptions,
RedirectOptions,
ErrorProps
ErrorProps,
GetTokenOptions
} from './types';

Expand Down Expand Up @@ -220,11 +220,11 @@ const createKindeClient = async (
}
};

const getToken = async (options: GetTokenOptions) => {
const getToken = async (options: GetTokenOptions = {}) => {
return await getTokenType(storageMap.access_token, options);
};

const getIdToken = async (options: GetTokenOptions) => {
const getIdToken = async (options: GetTokenOptions = {}) => {
return await getTokenType(storageMap.id_token, options);
};

Expand Down

0 comments on commit e527108

Please sign in to comment.