Skip to content

Commit

Permalink
fix(dwell/auth): accessToken return type
Browse files Browse the repository at this point in the history
  • Loading branch information
P1N2O committed Feb 6, 2025
1 parent 2e522c5 commit 5f9cde0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dwell/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ const parseToken = (token: string): any => {
* console.log(accessToken());
* ```
*/
const accessToken = (key?: string): string | null => {
const accessToken = (key?: string): any => {
return parseToken(localStorage.getItem(key || "access_token") || "");
};

Expand Down

0 comments on commit 5f9cde0

Please sign in to comment.