lib/basketball/drafting/engine_serializer.rb in basketball-0.0.2 vs lib/basketball/drafting/engine_serializer.rb in basketball-0.0.3
- old
+ new
@@ -99,10 +99,10 @@
player.id,
{
first_name: player.first_name,
last_name: player.last_name,
overall: player.overall,
- position: player.position.value
+ position: player.position.code
}
]
end
end