Skip to content

Commit

Permalink
Update lib/aws_codegen/util.ex
Browse files Browse the repository at this point in the history
Co-authored-by: Philip Sampaio <[email protected]>
  • Loading branch information
onno-vos-dev and philss authored Mar 13, 2024
1 parent a5ca734 commit 584acac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aws_codegen/util.ex
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ defmodule AWS.CodeGen.Util do
end

def return_type(:elixir, action) do
case Map.get(action.output, "target") do
case Map.fetch!(action.output, "target") do
"smithy.api#Unit" ->
normal = "{:ok, nil, any()}"
errors =
Expand Down

0 comments on commit 584acac

Please sign in to comment.