diff options
author | iilyak <iilyak@users.noreply.github.com> | 2021-03-18 08:46:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-18 08:46:55 -0700 |
commit | eeec561abc42dd358c4d473282e3442c1519089f (patch) | |
tree | fbb95ae588b645e5f330b7a79941790c2abd4ec1 | |
parent | a411fe220f94be73b9364fc0e923b8401d4e73ff (diff) | |
parent | 9043204735eed13128159208608823b35bf481b4 (diff) | |
download | couchdb-eeec561abc42dd358c4d473282e3442c1519089f.tar.gz |
Merge pull request #3440 from cloudant/fix-typo
Fix typo causing not saving of configuration changes from chttpd_node
-rw-r--r-- | src/chttpd/src/chttpd_node.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chttpd/src/chttpd_node.erl b/src/chttpd/src/chttpd_node.erl index 0159672f5..f657384ad 100644 --- a/src/chttpd/src/chttpd_node.erl +++ b/src/chttpd/src/chttpd_node.erl @@ -72,7 +72,7 @@ handle_node_req(#httpd{method='PUT', path_parts=[_, Node, <<"_config">>, Section Persist = chttpd:header_value(Req, "X-Couch-Persist") /= "false", OldValue = call_node(Node, config, get, [Section, Key, ""]), IsSensitive = Section == <<"admins">>, - Opts = #{persisit => Persist, sensitive => IsSensitive}, + Opts = #{persist => Persist, sensitive => IsSensitive}, case call_node(Node, config, set, [Section, Key, ?b2l(Value), Opts]) of ok -> send_json(Req, 200, list_to_binary(OldValue)); |