8000 Merge pull request #7 from minisu/patch-1 · woocommerce/wc-api-python@baf03ca · GitHub
[go: up one dir, main page]

Skip to content

Commit baf03ca

Browse files
Merge pull request #7 from minisu/patch-1
Changed user-agent from Node.js to Python
2 parents debf846 + c3a324f commit baf03ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

woocommerce/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __request(self, method, endpoint, data):
5656
url = self.__get_url(endpoint)
5757
auth = None
5858
headers = {
59-
"user-agent": "WooCommerce API Client-Node.js/%s" % __version__,
59+
"user-agent": "WooCommerce API Client-Python/%s" % __version__,
6060
"content-type": "application/json;charset=utf-8",
6161
"accept": "application/json"
6262
}

0 commit comments

Comments
 (0)
0