mirror of
https://github.com/stoatchat/javascript-client-sdk.git
synced 2026-07-20 20:16:06 -04:00
[PR #77] [CLOSED] Updated login & loginBot for token check #87
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stoatchat/javascript-client-sdk/pull/77
Author: @EtherealTheDev
Created: 6/15/2023
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
011197fUpdated login & loginBot for token check📊 Changes
1 file changed (+6 additions, -0 deletions)
View changed files
📝
src/Client.ts(+6 -0)📄 Description
I added checks to see if the token exists or not, this gives the user less confusion when they improperly setup a token config like: process.env["TOKEN"]
Please make sure to check the following tasks before opening and submitting a PR
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.