Skip to content

Commit 4c9055b

Browse files
require at the top of file
1 parent 71c2218 commit 4c9055b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ApiClient.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
* Do not edit the class manually.
1414
*
1515
*/
16+
const pkgJson = require('../package.json');
1617

1718
(function(root, factory) {
1819
if (typeof define === 'function' && define.amd) {
@@ -64,7 +65,6 @@
6465
* @type {Array.<String>}
6566
* @default {}
6667
*/
67-
const pkgJson = require('../package.json');
6868
this.defaultHeaders = {
6969
'user-agent': `sendinblue_clientAPI/v${pkgJson.version}/node`
7070
};

0 commit comments

Comments
 (0)