resetPassword script

This commit is contained in:
arnaucode
2018-02-20 22:00:35 +01:00
parent 2c87f5b1b7
commit bd0d849448
3 changed files with 96 additions and 7 deletions

View File

@@ -319,7 +319,7 @@ exports.getNotifications = function(req, res) {
};
function postImage(req, res, filename, fileImg) {
url = "http://127.0.0.1:3050/image";
url = "http://127.0.0.1:3001/image";
var importFile = function(fileImg) {
var decodedFile = new Buffer(fileImg, 'base64');
var r = request.post(url, function(err, httpResponse, body) {