From ac90d8c6afd222e962e91155a72a4baab8500638 Mon Sep 17 00:00:00 2001 From: Emma Lejeck Date: Sun, 13 Oct 2024 14:51:20 -0700 Subject: [PATCH] Link MediaRelationship#kind to #role on model --- app/graphql/types/media_relationship.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/graphql/types/media_relationship.rb b/app/graphql/types/media_relationship.rb index 583d98905..07400c1a0 100644 --- a/app/graphql/types/media_relationship.rb +++ b/app/graphql/types/media_relationship.rb @@ -29,5 +29,6 @@ def destination field :kind, Types::Enum::MediaRelationshipKind, null: false, + method: :role, description: 'The kind of relationship' end