Remove extraneous code

This commit is contained in:
Justin Edmund 2023-01-22 20:37:15 -08:00
parent cfee8b0b31
commit bb79f68a2c

View file

@ -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