Commit b6a97513 authored by priit's avatar priit
Browse files

Mitme faili haldamise err

parent a6c46d5e
......@@ -40,8 +40,8 @@ function SessionService() {
if(err) return cb(err);
self.checkSessionDir(sessionId, function (err) {
if(err) return cb(err);
self._storeRequestFiles(session, serviceRequest.files, function (err, session) {
return cb(err, session);
self._storeRequestFiles(session, serviceRequest.files, function (err) {
return cb(err);
});
});
});
......@@ -67,8 +67,8 @@ function SessionService() {
callback();
});
},
function ( err, session ) {
cb( err, session );
function ( err ) {
cb(err);
}
);
};
......
Markdown is supported
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