PrintNode / PrintNode-JS

Silently print from within a browser using javascript and PrintNode remote printing service.
https://www.printnode.com
MIT License
68 stars 27 forks source link

line 1017: apiKey variable not defined #13

Open remi-crypto opened 2 years ago

remi-crypto commented 2 years ago

the variable apiKey at line 1017 of version 0.3.0 seems to be not defined.

I suspect the fix is simply to declare the variable somewhere before line 1017 using one of the following: const apiKey = options.apiKey; // what I used let apiKey = options.apiKey; var apiKey = options.apiKey;

Other than that the module works. Thx.