run prettier on server-backend.js

This commit is contained in:
raphael 2021-02-11 14:39:56 +01:00
parent 5e3f475acb
commit cf3975107e

View File

@ -129,16 +129,19 @@ function startBackendServer(port) {
if (webdavaccess) {
//Save image to webdav
if (enableWebdav) {
saveImageToWebdav(savingPath, filename, webdavaccess, function (
err
) {
if (err) {
console.log("error", err);
callback(err);
} else {
callback();
saveImageToWebdav(
savingPath,
filename,
webdavaccess,
function (err) {
if (err) {
console.log("error", err);
callback(err);
} else {
callback();
}
}
});
);
} else {
callback("Webdav is not enabled on the server!");
}