🪄 Formats FactoryResetService

This commit is contained in:
Rune Harlyk
2024-07-09 20:04:30 +02:00
committed by Rune Harlyk
parent 2478e9a77b
commit 38288a47e5
2 changed files with 13 additions and 22 deletions
@@ -25,17 +25,16 @@
#define FS_CONFIG_DIRECTORY "/config"
#define FACTORY_RESET_SERVICE_PATH "/api/factoryReset"
class FactoryResetService
{
class FactoryResetService {
FS *fs;
public:
public:
FactoryResetService(PsychicHttpServer *server, FS *fs, SecurityManager *securityManager);
void begin();
void factoryReset();
private:
private:
PsychicHttpServer *_server;
SecurityManager *_securityManager;
esp_err_t handleRequest(PsychicRequest *request);