Skip to content

Commit 00064ba

Browse files
authored
Fix pushString() always write true
1 parent de2ef09 commit 00064ba

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)