Remove extraneous code
This commit is contained in:
parent
cfee8b0b31
commit
bb79f68a2c
1 changed files with 3 additions and 7 deletions
|
|
@ -48,13 +48,9 @@ module Api
|
||||||
|
|
||||||
@character.attributes = character_params.merge(mastery)
|
@character.attributes = character_params.merge(mastery)
|
||||||
|
|
||||||
if @character.save
|
return render json: GridCharacterBlueprint.render(@character, view: :full) if @character.save
|
||||||
ap 'Saved character'
|
|
||||||
return render json: GridCharacterBlueprint.render(@character, view: :full) if @character.save
|
render_validation_error_response(@character)
|
||||||
else
|
|
||||||
ap 'Could not save'
|
|
||||||
render_validation_error_response(@character)
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def resolve
|
def resolve
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue