diff options
author | pengqiseven <134899215+pengqiseven@users.noreply.github.com> | 2024-03-11 17:24:23 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-11 09:24:23 +0000 |
commit | 7f856d5d742dcb6febdb8a3f22cd9a8fecc69a4d (patch) | |
tree | d34285b58db3b9afe2535dfc0b19d74255592135 /routers | |
parent | e6d141182fbd1c56cab3f9369ee4d2a3deb9ab9f (diff) | |
download | gitea-7f856d5d742dcb6febdb8a3f22cd9a8fecc69a4d.tar.gz gitea-7f856d5d742dcb6febdb8a3f22cd9a8fecc69a4d.zip |
remove repetitive words (#29695)
Signed-off-by: pengqiseven <912170095@qq.com>
Diffstat (limited to 'routers')
-rw-r--r-- | routers/api/v1/repo/issue.go | 2 | ||||
-rw-r--r-- | routers/api/v1/repo/pull_review.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/routers/api/v1/repo/issue.go b/routers/api/v1/repo/issue.go index b63e7ab662..09175fe0ac 100644 --- a/routers/api/v1/repo/issue.go +++ b/routers/api/v1/repo/issue.go @@ -368,7 +368,7 @@ func ListIssues(ctx *context.APIContext) { // required: false // - name: created_by // in: query - // description: Only show items which were created by the the given user + // description: Only show items which were created by the given user // type: string // - name: assigned_by // in: query diff --git a/routers/api/v1/repo/pull_review.go b/routers/api/v1/repo/pull_review.go index 5128102e61..d314c4e7f7 100644 --- a/routers/api/v1/repo/pull_review.go +++ b/routers/api/v1/repo/pull_review.go @@ -545,7 +545,7 @@ func prepareSingleReview(ctx *context.APIContext) (*issues_model.Review, *issues return nil, nil, true } - // validate the the review is for the given PR + // validate the review is for the given PR if review.IssueID != pr.IssueID { ctx.NotFound("ReviewNotInPR") return nil, nil, true |