Skip to content

Commit

Permalink
Merge pull request #15 from VirusTotal/feature/send-credentials
Browse files Browse the repository at this point in the history
Send credentials when fetch html from api
  • Loading branch information
danipv authored May 25, 2021
2 parents dc66f91 + 09ee6a8 commit 158dd83
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dist/vt-augment.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@virustotal/vt-augment",
"version": "1.5.4",
"version": "1.5.5",
"description": "Client library that wraps common patterns when interact with the VirusTotal Augment product",
"main": "dist/vt-augment.min.js",
"keywords": [
Expand Down
1 change: 1 addition & 0 deletions src/vt-augment.js
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ class VTAugment {
};

xmlhr.open('GET', url, true);
xmlhr.withCredentials = true;
xmlhr.send();
}

Expand Down

0 comments on commit 158dd83

Please sign in to comment.