refactor: renamed "IsUserInListByListItem" to "IsUserInListByItemID"

This commit is contained in:
2026-08-20 15:43:33 +02:00
parent d026fa4d7c
commit 36b3f1a483
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ func (r *ListRepo) IsUserInList(ctx context.Context, listID string, userID strin
return cnt > 0, nil
}
func (r *ListRepo) IsUserInListByListItem(ctx context.Context, listItemID string, userID string) (bool, error) {
func (r *ListRepo) IsUserInListByItemID(ctx context.Context, listItemID string, userID string) (bool, error) {
var cnt int
err := r.db.QueryRowContext(ctx,