move credentials into struct

This commit is contained in:
Florian Hoss 2022-04-22 08:46:37 +02:00
parent 6a2b4df655
commit bb1a67c49d
4 changed files with 15 additions and 9 deletions

View file

@ -19,7 +19,7 @@ void setup_wifi()
void setup()
{
setup_wifi();
firewall_api = new firewall::API(api_username, api_password, 8080);
firewall_api = new firewall::API(api_username, api_password);
}
void loop()