Skip to content

Commit

Permalink
Update access token scope in useITwinFavorites hook documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
arome committed Nov 21, 2024
1 parent 382b089 commit f4eae9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const HOOK_ABORT_ERROR =

/**
* Custom hook to manage iTwin favorites.
* @param {string | (() => Promise<string>) | undefined} accessToken - Access token that requires the `itwins:read` scope. Provide a function that returns the token to prevent the token from expiring.
* @param {string | (() => Promise<string>) | undefined} accessToken - Access token that requires the `itwin-platform` scope. Provide a function that returns the token to prevent the token from expiring.
* @param {ApiOverrides<ITwinFull[]>} [apiOverrides] - Optional API overrides.
* @returns {object} - An object containing:
* - {Set<string>} iTwinFavorites - A set of iTwin IDs that are marked as favorites.
Expand Down

0 comments on commit f4eae9d

Please sign in to comment.