From 9aa2dfd96cc42fb24b7d890b24dafd73ac5c9108 Mon Sep 17 00:00:00 2001 From: EnameEtavir <84581448+EnameEtavir@users.noreply.github.com> Date: Mon, 24 May 2021 06:07:08 +0200 Subject: [PATCH] fix typos in performer models repo interface (#1410) tag methods used sceneID argument name instead of performerID --- pkg/models/performer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/models/performer.go b/pkg/models/performer.go index 437921e00..ea316be2d 100644 --- a/pkg/models/performer.go +++ b/pkg/models/performer.go @@ -18,7 +18,7 @@ type PerformerReader interface { Query(performerFilter *PerformerFilterType, findFilter *FindFilterType) ([]*Performer, int, error) GetImage(performerID int) ([]byte, error) GetStashIDs(performerID int) ([]*StashID, error) - GetTagIDs(sceneID int) ([]int, error) + GetTagIDs(performerID int) ([]int, error) } type PerformerWriter interface { @@ -29,7 +29,7 @@ type PerformerWriter interface { UpdateImage(performerID int, image []byte) error DestroyImage(performerID int) error UpdateStashIDs(performerID int, stashIDs []StashID) error - UpdateTags(sceneID int, tagIDs []int) error + UpdateTags(performerID int, tagIDs []int) error } type PerformerReaderWriter interface {