diff --git a/documentation/topics/resources/calculations.md b/documentation/topics/resources/calculations.md index fcd0aecd7..2dc72265e 100644 --- a/documentation/topics/resources/calculations.md +++ b/documentation/topics/resources/calculations.md @@ -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))