mirror of
https://github.com/towfiqi/serpbear
synced 2025-06-26 18:15:54 +00:00
Remove test variable as not defined and not required at all
As per your request I have removed the test
This commit is contained in:
@@ -271,7 +271,7 @@ export const getKeywordsVolume = async (keywords: KeywordType[]): Promise<{error
|
||||
// Generate Access Token
|
||||
let accessToken = '';
|
||||
const cachedAccessToken:string|false|undefined = memoryCache.get('adwords_token');
|
||||
if (cachedAccessToken && !test) {
|
||||
if (cachedAccessToken) {
|
||||
accessToken = cachedAccessToken;
|
||||
} else {
|
||||
accessToken = await getAdwordsAccessToken(credentials);
|
||||
|
||||
Reference in New Issue
Block a user