fix: rename AddListItem => CreateListItem

This commit is contained in:
2026-08-14 16:46:13 +02:00
parent 9261e07e72
commit dd8c105230
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ type ListRepository interface {
CreateList(ctx context.Context, name string, userIDs []string) (*List, error)
AddUserToList(ctx context.Context, listID string, userID string) error
RemoveUserFromList(ctx context.Context, listID string, userID string) error
AddListItem(ctx context.Context, listID string, title string) (*ListItem, error)
CreateListItem(ctx context.Context, listID string, title string) (*ListItem, error)
UpdateListItem(ctx context.Context, listItemID string, title string, isCompleted bool) error
}