chore: fix function name in comment (#1836)

Signed-off-by: largemouth <largemouth@aliyun.com>
This commit is contained in:
largemouth 2024-04-22 21:13:23 +08:00 committed by GitHub
parent e968718935
commit c3f4379b17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -60,7 +60,7 @@ func (s *store) UpdateCampaignStatus(campID int, status string) error {
return err
}
// UpdateCampaignStatus updates a campaign's status.
// UpdateCampaignCounts updates a campaign's status.
func (s *store) UpdateCampaignCounts(campID int, toSend int, sent int, lastSubID int) error {
_, err := s.queries.UpdateCampaignCounts.Exec(campID, toSend, sent, lastSubID)
return err