You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm using your package, and my slack-token is :
xxxx-000000000000-000000000000000000000000
It doesn't match with regexp in index.js line 40 : if (typeof accessToken !== 'string' || !accessToken.match(/^([a-z]{4})-([0-9]{11})-([0-9a-zA-Z]{24})$/)) {
Token may be 11 or 12 characters long in the middle, like : /^([a-z]{4})-([0-9]{11,12})-([0-9a-zA-Z]{24})$/
The text was updated successfully, but these errors were encountered:
This is a little delayed, but thanks for finding this. A the time of development I could not find solid documentation on the specifics of the token format. Code updated and released v.1.2.1 with the fix.
Hi,
I'm using your package, and my slack-token is :
xxxx-000000000000-000000000000000000000000
It doesn't match with regexp in index.js line 40 :
if (typeof accessToken !== 'string' || !accessToken.match(/^([a-z]{4})-([0-9]{11})-([0-9a-zA-Z]{24})$/)) {
Token may be 11 or 12 characters long in the middle, like :
/^([a-z]{4})-([0-9]{11,12})-([0-9a-zA-Z]{24})$/
The text was updated successfully, but these errors were encountered: