Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
moonlightnexus authored Nov 20, 2023
1 parent d99221e commit d29e799
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export class AuthLiteClient {

// Object.key(object).length === 0
// const rtn = this.jwtDecode(this.secretKey, JSON.stringify(data));
const decodeValue = this.jwtDecode(
const decodeValue = this.decode(

Check failure on line 106 in src/index.ts

View workflow job for this annotation

GitHub Actions / build

Property 'decode' does not exist on type 'AuthLiteClient'.
JSON.stringify(data),
this.secretKey
);
Expand Down Expand Up @@ -144,7 +144,7 @@ export class AuthLiteClient {

if (response.status === 200) {
const data = await response.json();
const decodeValue = this.jwtDecode(
const decodeValue = this.decode(

Check failure on line 147 in src/index.ts

View workflow job for this annotation

GitHub Actions / build

Property 'decode' does not exist on type 'AuthLiteClient'.
this.secretKey,
JSON.stringify(data)
);
Expand Down

0 comments on commit d29e799

Please sign in to comment.