Skip to content

Commit 632daec

Browse files
committed
Fix typo
1 parent 90c5d43 commit 632daec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

models/issue_stopwatch.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ type ErrIssueStopwatchNotExist struct {
2020
}
2121

2222
func (err ErrIssueStopwatchNotExist) Error() string {
23-
return fmt.Sprintf("issue stopwatch is not exist[uid: %d, issue_id: %d", err.UserID, err.IssueID)
23+
return fmt.Sprintf("issue stopwatch doesn't exist[uid: %d, issue_id: %d", err.UserID, err.IssueID)
2424
}
2525

2626
// ErrIssueStopwatchAlreadyExist represents an error that stopwatch is already exist
@@ -30,7 +30,7 @@ type ErrIssueStopwatchAlreadyExist struct {
3030
}
3131

3232
func (err ErrIssueStopwatchAlreadyExist) Error() string {
33-
return fmt.Sprintf("issue stopwatch is already exist[uid: %d, issue_id: %d", err.UserID, err.IssueID)
33+
return fmt.Sprintf("issue stopwatch already exists[uid: %d, issue_id: %d", err.UserID, err.IssueID)
3434
}
3535

3636
// Stopwatch represents a stopwatch for time tracking.

0 commit comments

Comments
 (0)