fix instruments part of payload
This commit is contained in:
parent
2fa2c22e6d
commit
bbfe15240b
|
|
@ -15,7 +15,7 @@ unless @user.bands.nil? || @user.bands.size == 0
|
|||
end
|
||||
|
||||
unless @user.instruments.nil? || @user.instruments.size == 0
|
||||
child :instruments => :instruments do
|
||||
attributes :id, :description, :proficiency_level
|
||||
child :user_instruments => :instruments do
|
||||
attributes :description, :proficiency_level
|
||||
end
|
||||
end
|
||||
Loading…
Reference in New Issue