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){
callback(new customError("HTML is malformed","apierror"));
return;
}else{
//update the clients on the pad
padMessageHandler.updatePadClients(pad, callback);
return;
}
//update the clients on the pad
padMessageHandler.updatePadClients(pad, callback);
});
});
}