Skip to content

Commit

Permalink
refactor(Command): increase _onUpdate document size
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed Nov 28, 2023
1 parent 1a5d5ff commit 73b23ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ namespace ESPAdmin

void Command::_onUpdate(const String &message)
{
StaticJsonDocument<222> doc; // 192 recommended
StaticJsonDocument<300> doc; // 192 recommended

DeserializationError error = deserializeJson(doc, message);

Expand Down

0 comments on commit 73b23ce

Please sign in to comment.