Skip to content

Commit 02f1796

Browse files
Remove debugging code (even commented out)
Signed-off-by: Lukasz Gryglicki <[email protected]>
1 parent 233e864 commit 02f1796

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

cla-backend-go/v2/sign/service.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2847,10 +2847,6 @@ func (s *service) GetUserActiveSignature(ctx context.Context, userID string) (*m
28472847
utils.XREQUESTID: ctx.Value(utils.XREQUESTID),
28482848
"userID": userID,
28492849
}
2850-
// LG:
2851-
// _ = s.updateChangeRequest(ctx, 35275118, 614349032, 215, "01af041c-fa69-4052-a23c-fb8c1d3bef24")
2852-
// return nil, nil
2853-
// LG:
28542850
activeSignatureMetadata, err := s.storeRepository.GetActiveSignatureMetaData(ctx, userID)
28552851
if err != nil {
28562852
log.WithFields(f).WithError(err).Warnf("unable to get active signature meta data for user: %s", userID)

cla-backend/cla/routes.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1841,9 +1841,6 @@ def user_from_session(request, response):
18411841
Will return 200 and user data if there is an active GitHub session
18421842
Can return 404 on OAuth2 errors
18431843
"""
1844-
# https://github.com/sun-test-org/repo1/pull/215
1845-
# from cla.models.github_models import GitHub
1846-
# GitHub().process_opened_pull_request({"pull_request":{"number":215}, "repository":{"id":614349032}, "installation":{"id":35275118}})
18471844
raw_redirect = request.params.get('get_redirect_url', 'false').lower()
18481845
get_redirect_url = raw_redirect in ('1', 'true', 'yes')
18491846
return cla.controllers.repository_service.user_from_session(get_redirect_url, request, response)

0 commit comments

Comments
 (0)