Skip to content

Commit ed7ea40

Browse files
Merge branch 'dev'
2 parents f738a2f + 96e6104 commit ed7ea40

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

cla-backend-legacy/internal/api/handlers.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8750,7 +8750,10 @@ func (h *Handlers) employeeSignaturePrecheck(ctx context.Context, projectID, com
87508750
}
87518751
if id != "" {
87528752
githubID = strings.TrimSpace(id)
8753-
user["user_github_id"] = &types.AttributeValueMemberS{Value: githubID}
8753+
// UserModel.user_github_id is a pynamodb NumberAttribute (DDB N) and
8754+
// the github-id-index GSI hash key is typed N. Writing S would leave
8755+
// this row out of the index. githubID is already a numeric string.
8756+
user["user_github_id"] = &types.AttributeValueMemberN{Value: githubID}
87548757
changed = true
87558758
}
87568759
}

0 commit comments

Comments
 (0)