Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Sep 26, 2024
1 parent 4a6ca1c commit 23446b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/lib/actions/callback/oauth/checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export const state = {
* An error is thrown if the state is missing or invalid.
*/
use: useCookie("state", "state"),
/** Decodes the state. If it could not be decoded, it returns `null`. */
/** Decodes the state. If it could not be decoded, it throws an error. */
async decode(state: string, options: InternalOptions) {
try {
options.logger.debug("DECODE_STATE", { state })
Expand Down

0 comments on commit 23446b8

Please sign in to comment.