summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--public/swagger.v1.json4
-rw-r--r--routers/api/v1/repo/issue_comment.go4
2 files changed, 4 insertions, 4 deletions
diff --git a/public/swagger.v1.json b/public/swagger.v1.json
index c2efd66da0..ce56b3dea9 100644
--- a/public/swagger.v1.json
+++ b/public/swagger.v1.json
@@ -1847,7 +1847,7 @@
{
"type": "string",
"description": "if provided, only comments updated since the provided time are returned.",
- "name": "string",
+ "name": "since",
"in": "query"
}
],
@@ -2160,7 +2160,7 @@
{
"type": "string",
"description": "if provided, only comments updated since the specified time are returned.",
- "name": "string",
+ "name": "since",
"in": "query"
}
],
diff --git a/routers/api/v1/repo/issue_comment.go b/routers/api/v1/repo/issue_comment.go
index af952a070b..ba627bb8a2 100644
--- a/routers/api/v1/repo/issue_comment.go
+++ b/routers/api/v1/repo/issue_comment.go
@@ -36,7 +36,7 @@ func ListIssueComments(ctx *context.APIContext) {
// description: index of the issue
// type: integer
// required: true
- // - name: string
+ // - name: since
// in: query
// description: if provided, only comments updated since the specified time are returned.
// type: string
@@ -90,7 +90,7 @@ func ListRepoIssueComments(ctx *context.APIContext) {
// description: name of the repo
// type: string
// required: true
- // - name: string
+ // - name: since
// in: query
// description: if provided, only comments updated since the provided time are returned.
// type: string