瀏覽代碼

changed arn list to aws_arn

Stefan McShane 3 年之前
父節點
當前提交
0a4a451803
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      api/server/handlers/project_integration/list_aws.go

+ 2 - 2
api/server/handlers/project_integration/list_aws.go

@@ -30,8 +30,8 @@ func NewListAWSHandler(
 type ListAWSAssumeRoleLink struct {
 type ListAWSAssumeRoleLink struct {
 	// ID is the ID of the assume role chain in the db. UUID as a string
 	// ID is the ID of the assume role chain in the db. UUID as a string
 	ID string `json:"id"`
 	ID string `json:"id"`
-	// ARN is the target ARN in an assume role chain
-	ARN string `json:"arn"`
+	// ARN is the target ARN in an AWS assume role chain
+	ARN string `json:"aws_arn"`
 	// ProjectID is the projec that this link belongs to
 	// ProjectID is the projec that this link belongs to
 	ProjectID int `json:"project_id"`
 	ProjectID int `json:"project_id"`
 }
 }