db/API.js: early return, no functional changes

This commit is contained in:
muxator 2018-08-29 02:09:33 +02:00
parent 05a33f1533
commit 42bc0a59e1

View file

@ -442,11 +442,10 @@ exports.setHTML = function(padID, html, callback)
if(e){ if(e){
callback(new customError("HTML is malformed","apierror")); callback(new customError("HTML is malformed","apierror"));
return; return;
}else{ }
//update the clients on the pad //update the clients on the pad
padMessageHandler.updatePadClients(pad, callback); padMessageHandler.updatePadClients(pad, callback);
return;
}
}); });
}); });
} }