From 083f9213ef0b593db430e5ae0348a0c8c1b64c76 Mon Sep 17 00:00:00 2001 From: kovapatrik Date: Fri, 12 Apr 2024 00:15:57 +0200 Subject: [PATCH] fix: import --- .gitattributes | 3 +++ homebridge-ui/server.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..75b1b30 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# Handle line endings automatically for files detected as text +# and leave all files detected as binary untouched. +* text=auto eol=lf \ No newline at end of file diff --git a/homebridge-ui/server.js b/homebridge-ui/server.js index 79439e4..5edf866 100644 --- a/homebridge-ui/server.js +++ b/homebridge-ui/server.js @@ -1,6 +1,6 @@ const { HomebridgePluginUiServer, RequestError } = require('@homebridge/plugin-ui-utils'); const { defaultConfig, defaultDeviceConfig } = require('../dist/platformUtils.js'); -const { BlueAirAwsApi } = require('../dist/api/BlueAirAwsApi.js').default; +const BlueAirAwsApi = require('../dist/api/BlueAirAwsApi.js').default; var _ = require('lodash');