rockneurotiko / ex_gram

Telegram Bot API low level API and framework
182 stars 26 forks source link

Follow up bugfix for executor after fixing return types #126

Closed a3kov closed 1 year ago

a3kov commented 1 year ago

The executor was working with incorrect return types before #125 So after you fixed the types, the executer also needs an update to work correctly:

defp process_result(list, [t]), do: Enum.map(list, &process_result(&1, t))
rockneurotiko commented 1 year ago

Nice catch 🚀