mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-09-14 00:54:32 +08:00
removed attributes
This commit is contained in:
parent
23f74a5b9b
commit
68385b36cc
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,8 @@ module Api
|
|||
module V1
|
||||
class ProtocolSerializer < ActiveModel::Serializer
|
||||
type :protocols
|
||||
attributes :id, :name, :authors, :description, :added_by_id,
|
||||
:my_module_id, :team_id, :protocol_type, :parent_id,
|
||||
attributes :id, :name, :authors, :description,
|
||||
:my_module_id, :team_id, :protocol_type,
|
||||
:nr_of_linked_children
|
||||
belongs_to :my_module, serializer: MyModuleSerializer
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue