summaryrefslogtreecommitdiffhomepage
path: root/src/helpers/decodeClientDataJSON.ts
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-19 14:27:37 -0700
committerMatthew Miller <matthew@millerti.me>2020-05-19 14:27:37 -0700
commitb71cba978a21b74dcef12128af2a4a9e8bbd66f8 (patch)
tree26fad5e9e3f1fccf61a8d716399b7f954e5e8500 /src/helpers/decodeClientDataJSON.ts
parent5fac314d0623d63515a461b108104d3a3e8af5db (diff)
Spruce up some comments
Diffstat (limited to 'src/helpers/decodeClientDataJSON.ts')
-rw-r--r--src/helpers/decodeClientDataJSON.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/helpers/decodeClientDataJSON.ts b/src/helpers/decodeClientDataJSON.ts
index 2b5bbbd..80a4961 100644
--- a/src/helpers/decodeClientDataJSON.ts
+++ b/src/helpers/decodeClientDataJSON.ts
@@ -4,9 +4,6 @@ import asciiToBinary from './asciiToBinary';
/**
* Decode an authenticator's base64-encoded clientDataJSON to JSON
- *
- * @param data
- * @returns {Object} - the data as JSON
*/
export default function decodeClientDataJSON(data: string): ClientDataJSON {
const toString = asciiToBinary(data);