Skip to content

Commit

Permalink
rm obsolete comments
Browse files Browse the repository at this point in the history
  • Loading branch information
nichoth committed Nov 3, 2024
1 parent 8be7b4e commit ab44ea7
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,7 @@ export function parseSession<T=Record<string, string|boolean>> (
const data:string = encodedSession.substring(SIGNATURE_DIGEST_LENGTH)
const asBuf = fromString(data, 'base64')
const asString = toString(asBuf, 'utf-8')
// const buf = Buffer.from(data, 'base64')
// const str = buf.toString('utf-8')
return JSON.parse(asString)
// return JSON.parse(str)
}

/**
Expand Down

0 comments on commit ab44ea7

Please sign in to comment.