Verified Commit 0917f8e4 authored by Ahmed Hemdan's avatar Ahmed Hemdan 1️⃣
Browse files

Remove external field from release asset link struct

parent fbf15136
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@ type Link struct {
	ID       int64  `json:"id,omitempty"`
	Name     string `json:"name"`
	URL      string `json:"url"`
	External bool   `json:"external,omitempty"`
	LinkType string `json:"link_type,omitempty"`
	Filepath string `json:"filepath,omitempty"`
}
+0 −1
Original line number Diff line number Diff line
@@ -76,7 +76,6 @@ const CreateReleaseSuccessResponse = `
            "id":3,
            "name":"hoge",
            "url":"https://gitlab.example.com/root/awesome-app/-/tags/v0.11.1/binaries/linux-amd64",
            "external":true,
            "link_type":"other"
         }
      ],
+0 −2
Original line number Diff line number Diff line
@@ -95,7 +95,6 @@ const GetReleaseResponseSuccess = `
            "id":3,
            "name":"hoge",
            "url":"https://gitlab.example.com/root/awesome-app/-/tags/v0.11.1/binaries/linux-amd64",
            "external":true,
            "link_type":"other"
         }
      ]
@@ -206,7 +205,6 @@ const GetReleaseResponseSuccessWithHTML = `
            "id":3,
            "name":"hoge",
            "url":"https://gitlab.example.com/root/awesome-app/-/tags/v0.11.1/binaries/linux-amd64",
            "external":true,
            "link_type":"other"
         }
      ]