diff --git a/src/SettingsPersistence.h b/src/SettingsPersistence.h index a0f0ec4..5b50126 100644 --- a/src/SettingsPersistence.h +++ b/src/SettingsPersistence.h @@ -88,7 +88,7 @@ protected: public: - SettingsPersistence(FS* fs, char const* servicePath, char const* filePath): + SettingsPersistence(FS* fs, char const* filePath): _fs(fs), _filePath(filePath) {} virtual ~SettingsPersistence() {} diff --git a/src/SettingsService.h b/src/SettingsService.h index 409c6d3..65a771a 100644 --- a/src/SettingsService.h +++ b/src/SettingsService.h @@ -60,7 +60,7 @@ private: public: SettingsService(AsyncWebServer* server, FS* fs, char const* servicePath, char const* filePath): - SettingsPersistence(fs, servicePath, filePath), _server(server) { + SettingsPersistence(fs, filePath), _server(server) { // configure fetch config handler _server->on(servicePath, HTTP_GET, std::bind(&SettingsService::fetchConfig, this, std::placeholders::_1));