Fetching config returns error after updating :frontends settings
When I try to update settings in :frontends
group, the post request is successful, but getting the updated config returns an error.
This is what I'm sending when updating a setting: { group: ":pleroma" key: ":frontends" value: [{tuple: [":primary", {name: "pleroma-fe"}]}] }
And the error I get:
Server: localhost:4000 (http)
Request: GET /api/pleroma/admin/config
** (exit) an exception was raised:
** (FunctionClauseError) no function clause matching in IO.chardata_to_string/1
(elixir) lib/io.ex:557: IO.chardata_to_string(nil)
(elixir) lib/path.ex:524: Path.do_join/3
(elixir) lib/path.ex:517: Path.join/2
(elixir) lib/path.ex:486: Path.join/1
(pleroma) lib/pleroma/plugs/frontend_static.ex:37: Pleroma.Plugs.FrontendStatic.call/2
(pleroma) lib/pleroma/web/endpoint.ex:5: Pleroma.Web.Endpoint.plug_builder_call/2
(pleroma) lib/plug/debugger.ex:132: Pleroma.Web.Endpoint."call (overridable 3)"/2
(pleroma) lib/pleroma/web/endpoint.ex:5: Pleroma.Web.Endpoint.call/2
(phoenix) lib/phoenix/endpoint/cowboy2_handler.ex:42: Phoenix.Endpoint.Cowboy2Handler.init/4
(cowboy) /Users/lina/src/Pleroma/pleroma/deps/cowboy/src/cowboy_handler.erl:37: :cowboy_handler.execute/2
(cowboy) /Users/lina/src/Pleroma/pleroma/deps/cowboy/src/cowboy_stream_h.erl:300: :cowboy_stream_h.execute/3
(cowboy) /Users/lina/src/Pleroma/pleroma/deps/cowboy/src/cowboy_stream_h.erl:291: :cowboy_stream_h.request_process/3
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3