Comparing version
{ | ||
"name": "pay-redoya", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A module that made for using Redoya.NET Pay API very easier.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -9,5 +9,5 @@ const { post } = require('axios'); | ||
}).catch((err) => { | ||
if (error.response.data) return error.response.data; | ||
if (err.response.data) return err.response.data; | ||
throw new Error("Unknown Axios error!" + JSON.stringify(err)); | ||
}); | ||
}; |
39588
-0.01%