diff options
author | Jordan Bracco <href@random.sh> | 2021-09-03 18:07:09 +0200 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2021-09-03 18:07:09 +0200 |
commit | a808f89428daa2e90ceb7a9876a317e4e85fe5bf (patch) | |
tree | 7d1c143488180f7ae4d2eae3a0ad2aa92a5adfbf /apps/styx_web/src/styx_web.erl | |
parent | Move `assets/` to `apps/styx_web/assets` (diff) |
various small fixes
Diffstat (limited to 'apps/styx_web/src/styx_web.erl')
-rw-r--r-- | apps/styx_web/src/styx_web.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/styx_web/src/styx_web.erl b/apps/styx_web/src/styx_web.erl index cf565bd..123dc7b 100644 --- a/apps/styx_web/src/styx_web.erl +++ b/apps/styx_web/src/styx_web.erl @@ -52,7 +52,7 @@ req_param(Req, Param) -> {error, {missing_param, Param}} end. -render_node([#{<<"attributes">> := Attrs = #{<<"name">> := AttrName, <<"type">> := AttrType}, <<"type">> := <<"input">>, <<"messages">> := Msgs, <<"meta">> := Meta} | Rest], Acc) -> +render_node([#{<<"attributes">> := Attrs = #{<<"name">> := AttrName, <<"type">> := AttrType}, <<"type">> := <<"input">>, <<"messages">> := _Msgs, <<"meta">> := Meta} | Rest], Acc) -> Assigns0 = [{"input_name", AttrName}, {"input_type", AttrType}, {"input_value", maps:get(<<"value">>, Attrs, undefined)}, |