From 322cc6c4ebeea3b83045a6886d0d0253685507b3 Mon Sep 17 00:00:00 2001 From: DavidMosoarca <48685407+DavidMosoarca@users.noreply.github.com> Date: Wed, 10 Mar 2021 12:32:49 +0200 Subject: [PATCH] Improve projects.go Added the `SuggestionCommitMessage` field into the `Project` struct in order to be able to get this JSON attribute. --- projects.go | 1 + 1 file changed, 1 insertion(+) diff --git a/projects.go b/projects.go index 1aaba5682..0cbc1eb11 100644 --- a/projects.go +++ b/projects.go @@ -108,6 +108,7 @@ type Project struct { AutocloseReferencedIssues bool `json:"autoclose_referenced_issues"` SuggestionCommitMessage string `json:"suggestion_commit_message"` CIForwardDeploymentEnabled bool `json:"ci_forward_deployment_enabled"` + SuggestionCommitMessage string `json:"suggestion_commit_message"` SharedWithGroups []struct { GroupID int `json:"group_id"` GroupName string `json:"group_name"`