From 42604572030e24936c1af1a4929f04b048f370ef Mon Sep 17 00:00:00 2001 From: Sander van Harmelen Date: Fri, 29 Sep 2023 09:56:39 +0200 Subject: [PATCH] Reorder fields to match the docs --- projects.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects.go b/projects.go index e1de6c528..6a2b3be01 100644 --- a/projects.go +++ b/projects.go @@ -197,14 +197,14 @@ type ContainerExpirationPolicy struct { // ForkParent represents the parent project when this is a fork. type ForkParent struct { - HTTPURLToRepo string `json:"http_url_to_repo"` ID int `json:"id"` Name string `json:"name"` NameWithNamespace string `json:"name_with_namespace"` Path string `json:"path"` PathWithNamespace string `json:"path_with_namespace"` - RepositoryStorage string `json:"repository_storage"` + HTTPURLToRepo string `json:"http_url_to_repo"` WebURL string `json:"web_url"` + RepositoryStorage string `json:"repository_storage"` } // GroupAccess represents group access.