From 11bb494fb17d6b8aefe7b111210238b54c7398d4 Mon Sep 17 00:00:00 2001 From: kolaente Date: Wed, 2 May 2018 16:32:40 +0200 Subject: [PATCH] fixed lint + fmt --- routers/api/v1/repo/issue.go | 2 +- routers/api/v1/swagger/options.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/routers/api/v1/repo/issue.go b/routers/api/v1/repo/issue.go index 38c29013f..2754acd98 100644 --- a/routers/api/v1/repo/issue.go +++ b/routers/api/v1/repo/issue.go @@ -392,5 +392,5 @@ func UpdateIssueDeadline(ctx *context.APIContext, form api.EditDeadlineOption) { return } - ctx.JSON(201, api.IssueDeadline{Deadline:form.Deadline}) + ctx.JSON(201, api.IssueDeadline{Deadline: form.Deadline}) } diff --git a/routers/api/v1/swagger/options.go b/routers/api/v1/swagger/options.go index 855cefb9f..301744ae7 100644 --- a/routers/api/v1/swagger/options.go +++ b/routers/api/v1/swagger/options.go @@ -22,8 +22,8 @@ type swaggerParameterBodies struct { CreateHookOption api.CreateHookOption EditHookOption api.EditHookOption - CreateIssueOption api.CreateIssueOption - EditIssueOption api.EditIssueOption + CreateIssueOption api.CreateIssueOption + EditIssueOption api.EditIssueOption EditDeadlineOption api.EditDeadlineOption CreateIssueCommentOption api.CreateIssueCommentOption