aboutsummaryrefslogtreecommitdiff
path: root/routers/api/v1/convert/convert.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/api/v1/convert/convert.go')
-rw-r--r--routers/api/v1/convert/convert.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/api/v1/convert/convert.go b/routers/api/v1/convert/convert.go
index 596b450f..0dc73fcd 100644
--- a/routers/api/v1/convert/convert.go
+++ b/routers/api/v1/convert/convert.go
@@ -129,6 +129,7 @@ func ToDeployKey(apiLink string, key *models.DeployKey) *api.DeployKey {
func ToLabel(label *models.Label) *api.Label {
return &api.Label{
+ ID: label.ID,
Name: label.Name,
Color: label.Color,
}