/convert
endpoint is not setting default language to en
when language
is omitted
#166
Labels
/convert
endpoint is not setting default language to en
when language
is omitted
#166
colore/lib/app.rb
Line 187 in 1f203a5
When params[:language] is omitted,
convert_file
will be called withnil
, and the fallback on English will not workcolore/lib/app.rb
Line 199 in 1f203a5
This can be fixed in two ways
Heathen::Converter.convert
app.rb
by addingparams.fetch(:language, 'en')
The text was updated successfully, but these errors were encountered: