Skip to content

Commit

Permalink
fix: Correct typo in GoTrueClient warning message (#938)
Browse files Browse the repository at this point in the history
## What kind of change does this PR introduce?

This PR corrects the spelling of `clock` in a warning message in
`GoTrueClient.ts`.

## What is the current behavior?

```
@supabase_supabase-js.js?v=12ace510:5329 @supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clok for skew 
```

## What is the new behavior?

```
@supabase_supabase-js.js?v=12ace510:5329 @supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew 
```

## Additional context


![image](https://github.com/user-attachments/assets/e25b10cc-93e1-48e0-9881-a31ede7b07ef)
  • Loading branch information
fizal619 authored Aug 12, 2024
1 parent b957c30 commit 8222ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GoTrueClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1465,7 +1465,7 @@ export default class GoTrueClient {
)
} else if (timeNow - issuedAt < 0) {
console.warn(
'@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clok for skew',
'@supabase/gotrue-js: Session as retrieved from URL was issued in the future? Check the device clock for skew',
issuedAt,
expiresAt,
timeNow
Expand Down

0 comments on commit 8222ee1

Please sign in to comment.