From 1f78bad30aec55bc629925770678a8bc892cd615 Mon Sep 17 00:00:00 2001 From: Jeremy Echols Date: Wed, 6 Nov 2024 07:24:02 -0800 Subject: [PATCH] Fix comment typos / inaccuracies --- src/issuefinder/indexed.go | 2 +- src/models/issue.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/issuefinder/indexed.go b/src/issuefinder/indexed.go index a8869529..ae1b4bfe 100644 --- a/src/issuefinder/indexed.go +++ b/src/issuefinder/indexed.go @@ -5,7 +5,7 @@ import ( "github.com/uoregon-libraries/newspaper-curation-app/src/models" ) -// FindInProcessIssues aggregates all issues which have been indexed in the database +// FindInProcessIssues aggregates all issues which are in NCA's workflow states func (s *Searcher) FindInProcessIssues() error { var err = s.init() if err != nil { diff --git a/src/models/issue.go b/src/models/issue.go index a0108b18..27e29a46 100644 --- a/src/models/issue.go +++ b/src/models/issue.go @@ -683,8 +683,8 @@ func (i *Issue) SchemaIssue() (*schema.Issue, error) { return si, err } -// FindCompletedIssuesReadyForRemoval returns all issues which are be complete -// and no longer needed in our workflow: tied to a closed (live_done) batch and +// FindCompletedIssuesReadyForRemoval returns all issues which are complete and +// no longer needed in our workflow: tied to a closed (live_done) batch and // ignored by NCA, but still contain a location func FindCompletedIssuesReadyForRemoval() ([]*Issue, error) { var op = dbi.DB.Operation()