From fa9bb63e0650e0ca60d44f4e5fa6f6a522e1dd67 Mon Sep 17 00:00:00 2001 From: aztekCom <53271639+aztekCom@users.noreply.github.com> Date: Fri, 20 Mar 2020 02:40:33 +0500 Subject: [PATCH] Update api.js --- lib/api.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/api.js b/lib/api.js index d78da35..39d2a4e 100644 --- a/lib/api.js +++ b/lib/api.js @@ -1,3 +1,4 @@ +var error=require('./error.js') exports.api = Api; function Api(_super) { @@ -36,4 +37,4 @@ Api.prototype.getProfile = function getProfile(accessToken, callback) { self._super.callApiMethod('user/profile', null, accessToken, callback); }); -}; \ No newline at end of file +};