chore: store apiKey in redux store

This commit is contained in:
Sebastian Velez
2023-01-13 14:03:04 -05:00
parent def9fe1243
commit 6dfa40e026
9 changed files with 128 additions and 64 deletions

View File

@@ -31,7 +31,6 @@ class WakaTimeCore {
}
async checkAuth(api_key = ''): Promise<User> {
console.log('api_keyapi_keyapi_keyapi_key', api_key);
const userPayload: AxiosResponse<AxiosUserResponse> = await axios.get(
config.currentUserApiUrl,
{ params: { api_key } },