Skip to content

Commit 71c2218

Browse files
comment about new func
1 parent b4d8f00 commit 71c2218

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ApiClient.js

+4
Original file line numberDiff line numberDiff line change
@@ -581,6 +581,10 @@
581581
}
582582
};
583583

584+
/**
585+
* Sets the user-agent
586+
* @param header (String)
587+
*/
584588
exports.setUserAgent = function(header) {
585589
if (typeof header == 'string' && header.substr(0,11).trim().toLowerCase() === 'sendinblue_') {
586590
exports.instance.defaultHeaders['user-agent'] = header;

0 commit comments

Comments
 (0)