From 0c209ada2314cb5e4cf123477ee246b5afc70939 Mon Sep 17 00:00:00 2001 From: s Date: Wed, 19 Nov 2025 12:39:35 -0500 Subject: refactor: switch to authenticated client and update github lead model to use profile data instead of commit metadata --- internal/models/github.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'internal/models/github.go') diff --git a/internal/models/github.go b/internal/models/github.go index 1c9657c..fc1c9c3 100644 --- a/internal/models/github.go +++ b/internal/models/github.go @@ -1,10 +1,12 @@ package models type GitHubLead struct { - Repository string `json:"repository"` - Author string `json:"author"` - Email string `json:"email"` - Commit string `json:"commit"` - Date string `json:"date"` - Message string `json:"message"` + Name string `json:"name"` + Email string `json:"email"` + Username string `json:"username"` + Company string `json:"company,omitempty"` + Location string `json:"location,omitempty"` + Website string `json:"website,omitempty"` + Twitter string `json:"twitter,omitempty"` + PFP string `json:"pfp,omitempty"` } -- cgit v1.2.3