diff --git a/internal/collection_service.go b/internal/collection_service.go index 590c95b..32c7e81 100644 --- a/internal/collection_service.go +++ b/internal/collection_service.go @@ -23,6 +23,7 @@ func (cfg *BookclubServer) AddBookToCollection(isbn string, userId uint) (Book, return book, nil } +// Searches for the given book within the network of the given user. func (cfg *BookclubServer) SearchBookInNetwork(userId uint, isbn string) ([]User, error) { //get linked users