Tidy stale comments and duplicated helpers
Comments carried over from web_server (CVLayout.vue, messageResolver, the Spotify token code) and ones outdated by later changes (the email window now anchors on ReceivedAt, failed emails are retried) are corrected. truncateRunes had a copy in handlers and in services; there is now one, services.TruncateRunes. cleanEmailBody's regexes are compiled once, a status check that could never fire is gone, and api.js loses its unused put/patch helpers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -101,7 +101,7 @@ func firstApplication(query *gorm.DB) (*models.JobApplication, error) {
|
||||
}
|
||||
|
||||
// JobCaptureInput is a posting to add to the tracker. Its JSON form is the
|
||||
// body of POST /jobs/capture: the popup's fields.
|
||||
// body of POST /jobs/api/capture: the popup's fields.
|
||||
type JobCaptureInput struct {
|
||||
JobTitle string `json:"jobTitle"`
|
||||
Company string `json:"company"`
|
||||
|
||||
Reference in New Issue
Block a user