run prettier on server-backend.js
This commit is contained in:
parent
5e3f475acb
commit
cf3975107e
@ -129,16 +129,19 @@ function startBackendServer(port) {
|
|||||||
if (webdavaccess) {
|
if (webdavaccess) {
|
||||||
//Save image to webdav
|
//Save image to webdav
|
||||||
if (enableWebdav) {
|
if (enableWebdav) {
|
||||||
saveImageToWebdav(savingPath, filename, webdavaccess, function (
|
saveImageToWebdav(
|
||||||
err
|
savingPath,
|
||||||
) {
|
filename,
|
||||||
if (err) {
|
webdavaccess,
|
||||||
console.log("error", err);
|
function (err) {
|
||||||
callback(err);
|
if (err) {
|
||||||
} else {
|
console.log("error", err);
|
||||||
callback();
|
callback(err);
|
||||||
|
} else {
|
||||||
|
callback();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
);
|
||||||
} else {
|
} else {
|
||||||
callback("Webdav is not enabled on the server!");
|
callback("Webdav is not enabled on the server!");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user