We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 20e11f8 commit 1826400Copy full SHA for 1826400
CHANGELOG.md
@@ -2,3 +2,4 @@
2
- Add support for reading/writing mfaInfo field in Auth Emulator (#3173).
3
- Work around CORS issues with jsdom in Auth Emulator and Emulator Hub (#3224).
4
- Fixes port conflict issues with `functions:shell` (#3210).
5
+- Fixes issue where `database:settings:set` would cause an error with valid input (#3217).
src/commands/database-settings-set.ts
@@ -43,7 +43,7 @@ export default new Command("database:settings:set <path> <value>")
43
);
44
const c = new Client({ urlPrefix: u.origin, auth: true });
45
try {
46
- await c.put(u.pathname, parsedValue);
+ await c.put(u.pathname, JSON.stringify(parsedValue));
47
} catch (err) {
48
throw new FirebaseError(`Unexpected error fetching configs at ${path}`, {
49
exit: 2,
0 commit comments