nossas / bonde-server

API Rails
GNU General Public License v3.0
8 stars 5 forks source link

[pt-br] Correção ao salvar configurações da widget de doação #511

Closed hudsilva closed 6 years ago

hudsilva commented 6 years ago

Fix

Ao atualizar uma widget o método de update retornava erro 500 caso os parâmetros não fossem válidos. Corrigido para que retorne quais erros acontecem na widget quando da erro.

codecov[bot] commented 6 years ago

Codecov Report

Merging #511 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #511   +/-   ##
=======================================
  Coverage   93.74%   93.74%           
=======================================
  Files         229      229           
  Lines        7018     7018           
=======================================
  Hits         6579     6579           
  Misses        439      439
Impacted Files Coverage Δ
...pp/controllers/mobilizations/widgets_controller.rb 88.88% <100%> (ø) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 2fe6911...4238e06. Read the comment docs.