Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit 819ef25

Browse files
committed
'fix' buffer issue
1 parent cc199f3 commit 819ef25

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Firebase.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ FirebaseCall::FirebaseCall(const String& host, const String& auth,
119119
}
120120

121121
const JsonObject& FirebaseCall::json() {
122+
//TODO(edcoyne): This is not efficient, we should do something smarter with
123+
//the buffers.
124+
buffer_ = DynamicJsonBuffer();
122125
return buffer_.parseObject(response());
123126
}
124127

0 commit comments

Comments
 (0)