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

Commit 59f1657

Browse files
authored
Merge pull request #229 from vothanhkiet/master
Fix pushString() always write true
2 parents de2ef09 + 00064ba commit 59f1657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FirebaseArduino.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ String FirebaseArduino::pushBool(const String& path, bool value) {
3939
}
4040

4141
String FirebaseArduino::pushString(const String& path, const String& value) {
42-
JsonVariant json(value);
42+
JsonVariant json(value.c_str());
4343
return push(path, json);
4444
}
4545

0 commit comments

Comments
 (0)