Skip to content

Commit

Permalink
🐛 improve function comment
Browse files Browse the repository at this point in the history
  • Loading branch information
perebaj committed Jan 21, 2024
1 parent ba56997 commit cbf5606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongodb/newsletter.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ func (m *NLStorage) Newsletter() ([]Newsletter, error) {
return newsletters, nil
}

// SavePage saves a site in the database
// SavePage saves the scraped content of a website
func (m *NLStorage) SavePage(ctx context.Context, pages []Page) error {
database := m.client.Database(m.DBName)
collection := database.Collection("pages")
Expand Down

0 comments on commit cbf5606

Please sign in to comment.