File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ String UniversalTelegramBot::sendGetToTelegram(const String& command) {
80
80
if (client->connected ()) {
81
81
82
82
#ifdef _debug
83
- Serial.println (F ( " .... connected to server " ) );
83
+ Serial.println (" sending: " + command );
84
84
#endif
85
85
86
86
String a = " " ;
@@ -432,13 +432,8 @@ int UniversalTelegramBot::getUpdates(long offset) {
432
432
#endif
433
433
434
434
// Parse response into Json object
435
- DynamicJsonDocument doc (maxMessageLength);
436
- DeserializationError error = deserializeJson (doc, ZERO_COPY (response));
437
- #ifdef _debug
438
- Serial.print (F (" GetUpdates parsed jsonDoc: " ));
439
- serializeJson (doc, Serial);
440
- Serial.println ();
441
- #endif
435
+ DynamicJsonDocument doc (maxMessageLength);
436
+ DeserializationError error = deserializeJson (doc, ZERO_COPY (response));
442
437
443
438
if (!error) {
444
439
#ifdef _debug
You can’t perform that action at this time.
0 commit comments