From 23f215df0e3187b01c15fe93571786f86d2813dc Mon Sep 17 00:00:00 2001 From: Vincent Lequertier Date: Tue, 10 Apr 2018 10:47:28 +0200 Subject: [PATCH] Remove labels deserialization for gogs and gitea PRs This fixes #2154 --- remote/gitea/types.go | 1 - remote/gogs/types.go | 1 - 2 files changed, 2 deletions(-) diff --git a/remote/gitea/types.go b/remote/gitea/types.go index 0ae00804..4f0de583 100644 --- a/remote/gitea/types.go +++ b/remote/gitea/types.go @@ -71,7 +71,6 @@ type pullRequestHook struct { } `json:"user"` Title string `json:"title"` Body string `json:"body"` - Labels []string `json:"labels"` State string `json:"state"` URL string `json:"html_url"` Mergeable bool `json:"mergeable"` diff --git a/remote/gogs/types.go b/remote/gogs/types.go index 613a6a67..9b62c3e2 100644 --- a/remote/gogs/types.go +++ b/remote/gogs/types.go @@ -70,7 +70,6 @@ type pullRequestHook struct { } `json:"user"` Title string `json:"title"` Body string `json:"body"` - Labels []string `json:"labels"` State string `json:"state"` URL string `json:"html_url"` Mergeable bool `json:"mergeable"`