diff --git a/graphql/schema/types/file.graphql b/graphql/schema/types/file.graphql index 08ba65775..2db611aa4 100644 --- a/graphql/schema/types/file.graphql +++ b/graphql/schema/types/file.graphql @@ -125,7 +125,7 @@ type ImageFile implements BaseFile { union VisualFile = VideoFile | ImageFile type AudioFile implements BaseFile { - # TODO(audio): edit this + # TODO(audio): edit this id: ID! path: String! basename: String! diff --git a/internal/api/changeset_translator.go b/internal/api/changeset_translator.go index c8fc6047e..fc0ccdae0 100644 --- a/internal/api/changeset_translator.go +++ b/internal/api/changeset_translator.go @@ -395,7 +395,7 @@ func (t changesetTranslator) relatedGroups(value []models.SceneGroupInput) (mode if err != nil { return models.RelatedGroups{}, err } - + return models.NewRelatedGroups(groupsScenes), nil } @@ -516,7 +516,6 @@ func (t changesetTranslator) updateGroupIDsBulkAudio(value *BulkUpdateIds, field }, nil } - func groupsDescriptionsFromGroupInput(input []*GroupDescriptionInput) ([]models.GroupIDDescription, error) { ret := make([]models.GroupIDDescription, len(input))