Skip to content

Commit

Permalink
Merge pull request #4179 from nickmango/feature/docsign-lint
Browse files Browse the repository at this point in the history
Fixed lint issue for docsign documentID
  • Loading branch information
nickmango authored Nov 20, 2023
2 parents cf0c019 + c13b135 commit 271f918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cla-backend-go/v2/sign/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ func (s *service) populateSignURL(ctx context.Context,
// seed the random number generator
rand.Seed(time.Now().UnixNano())

randomInteger := rand.Intn(1000000)
randomInteger := rand.Intn(1000000) //nolint:gosec
documentID := strconv.Itoa(randomInteger)

tab := getTabsFromDocument(&document, documentID, defaultValues)
Expand Down

0 comments on commit 271f918

Please sign in to comment.