Commit f1ce63e5 authored by priit's avatar priit
Browse files

Utiliidi töö katkestamine

parent 813413d6
......@@ -88,7 +88,10 @@ function WrapperService() {
callback(null, mapResponse(err, response));
});
} else {
callback(null, mapResponse('Teenusele ei ole katkestamise meetodit implementeeritud'));
session.setErrors({util:' Utiliidi töö katkestati!'});
sessionService.saveSession(session, function (err, session) {
callback(null, mapResponse('Teenusele ei ole katkestamise meetodit implementeeritud'));
});
}
});
};
......
......@@ -155,7 +155,7 @@ function ArchiveExtractor() {
return callback(null, session);
});
});
}
};
}
module.exports = ArchiveExtractor;
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment