wrong token changed and corrected
This commit is contained in:
1 parent
5dec745ab2
commit
bb01ec92ce
3 files changed
+11
-13
No files matched your search
+1
-1
@@ -19,7 +19,7 @@ async function getLeads() {
|
||||
console.log('File not found.');
|
||||
const defaultDate = new Date();
|
||||
defaultDate.setDate(defaultDate.getDate() - 7);
|
||||
lastRunDate = defaultDate.toISOString().split('T')[0];
|
||||
lastRunDate = defaultDate.toISOString().split('T')[0];
|
||||
}
|
||||
|
||||
const response = await fetch('https://smarthub.keystoneacademic.com/api/rest/getLead', {
|
||||
|
||||
Reference in new issue
Block a user