From cf3975107e5a2d973e1341c2d5226e3c217ed70d Mon Sep 17 00:00:00 2001 From: raphael Date: Thu, 11 Feb 2021 14:39:56 +0100 Subject: [PATCH] run prettier on server-backend.js --- scripts/server-backend.js | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/scripts/server-backend.js b/scripts/server-backend.js index 656cf05..d726d52 100644 --- a/scripts/server-backend.js +++ b/scripts/server-backend.js @@ -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!"); }