Skip to content

Commit

Permalink
docs: fix arguments missing on calc context (#1648)
Browse files Browse the repository at this point in the history
  • Loading branch information
esdrasedu authored Dec 10, 2024
1 parent 80bfd86 commit c1f43c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/topics/resources/calculations.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ defmodule Concat do
end

@impl true
def calculate(records, opts, %{separator: separator}) do
def calculate(records, opts, %{arguments: %{separator: separator}}) do
Enum.map(records, fn record ->
Enum.map_join(opts[:keys], separator, fn key ->
to_string(Map.get(record, key))
Expand Down

0 comments on commit c1f43c5

Please sign in to comment.