Skip to content

Commit

Permalink
[communitybridge#2792]Refactor/Individual Signature
Browse files Browse the repository at this point in the history
- Refactored logic with generic helper function for individual signature invalidation

Signed-off-by: Harold Wanyama <[email protected]>
  • Loading branch information
nickmango committed Apr 9, 2021
1 parent 5db1789 commit 952b570
Show file tree
Hide file tree
Showing 3 changed files with 118 additions and 127 deletions.
7 changes: 6 additions & 1 deletion cla-backend-go/signatures/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@

package signatures

import v2Models "github.com/communitybridge/easycla/cla-backend-go/gen/v2/models"
import (
"github.com/communitybridge/easycla/cla-backend-go/gen/models"
v2Models "github.com/communitybridge/easycla/cla-backend-go/gen/v2/models"
)

// SignatureCompanyID is a simple data model to hold the signature ID and come company details for CCLA's
type SignatureCompanyID struct {
Expand Down Expand Up @@ -34,6 +37,8 @@ type ApprovalList struct {
EmailApprovals []string
GHUsernames []string
GerritICLAECLAs []string
ICLAs []*models.IclaSignature
ECLAs []*models.Signature
}

// GerritUserResponse is a data structure to hold the gerrit user query response
Expand Down
Loading

0 comments on commit 952b570

Please sign in to comment.