Skip to content

Commit 74ac376

Browse files
committed
Temporarily remove token format check
sindresorhus#248
1 parent d3e23ad commit 74ac376

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/lib/api.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ export async function getParsedUrl(endpoint, params) {
4141
export async function getHeaders() {
4242
const {token} = await optionsStorage.getAll();
4343

44-
if (!(/[a-z\d]{40}/.test(token))) {
45-
throw new Error('missing token');
46-
}
44+
/// if (!(/[a-z\d]{40}/.test(token))) {
45+
// throw new Error('missing token');
46+
// }
4747

4848
return {
4949
/* eslint-disable quote-props */

0 commit comments

Comments
 (0)