Explorar el Código

fix eslint error

cg-zhou hace 9 meses
padre
commit
a394b25e61
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      backend/index.js

+ 1 - 1
backend/index.js

@@ -18,7 +18,7 @@ async function appStart () {
 		.then(() => {
 			if (IP_RANGES_FETCH_ENABLED) {
 				logger.info('IP Ranges fetch is enabled');
-				return internalIpRanges.fetch().catch(err => {
+				return internalIpRanges.fetch().catch((err) => {
 					logger.error('IP Ranges fetch failed, continuing anyway:', err.message);
 					return Promise.resolve();
 				});