TypeError: gofileApiwrapper is not a constructor
TheBaconPug opened this issue · comments
TheBaconPug commented
const api = new gofileApiwrapper(process.env.EMAIL, process.env.TOKEN);
Blank commented
ye i miss spelled it in the documentation the proper way to call it is
const gofileApiwrapper = require('gofile-apiwrapper'); var api = new gofileApiwrapper.apiGofile("email","apitoken");