mirror of
https://github.com/towfiqi/serpbear
synced 2025-06-26 18:15:54 +00:00
Update adwords.ts
fix test is not defined issue
This commit is contained in:
parent
fda8692daf
commit
7b494fe679
@ -270,6 +270,7 @@ export const getKeywordsVolume = async (keywords: KeywordType[]): Promise<{error
|
||||
|
||||
// Generate Access Token
|
||||
let accessToken = '';
|
||||
let test = false;
|
||||
const cachedAccessToken:string|false|undefined = memoryCache.get('adwords_token');
|
||||
if (cachedAccessToken && !test) {
|
||||
accessToken = cachedAccessToken;
|
||||
|
Loading…
Reference in New Issue
Block a user