add expert profile to api
This commit is contained in:
parent
d47fde3fcb
commit
a710116371
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ class API::V2::Schema < GraphQL::Schema
|
|||
Types::DossierType
|
||||
when Commentaire
|
||||
Types::MessageType
|
||||
when Instructeur, User
|
||||
when Instructeur, User, Expert
|
||||
Types::ProfileType
|
||||
when Individual
|
||||
Types::PersonnePhysiqueType
|
||||
|
|
|
@ -12,6 +12,6 @@ module Types
|
|||
]
|
||||
|
||||
field :instructeur, Types::ProfileType, null: false, method: :claimant
|
||||
field :expert, Types::ProfileType, null: true, method: :instructeur
|
||||
field :expert, Types::ProfileType, null: true
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue