-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: return sites from db for email login #754
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,10 +15,10 @@ export type GitHubRepositoryData = { | |
} | ||
|
||
export type RepositoryData = { | ||
lastUpdated: GitHubRepositoryData["pushed_at"] | ||
permissions: GitHubRepositoryData["permissions"] | ||
lastUpdated?: GitHubRepositoryData["pushed_at"] | ||
permissions?: GitHubRepositoryData["permissions"] | ||
repoName: GitHubRepositoryData["name"] | ||
isPrivate: GitHubRepositoryData["private"] | ||
isPrivate?: GitHubRepositoryData["private"] | ||
Comment on lines
+18
to
+21
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hmm actually removing isPrivate has implications specifically for loading homepages on private repos - without this param available the images on editHomepage don't load properly. I feel like this can be a future fix though since the affected repos should be small, but let's check with prod ops first if any existing email login sites are private There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We should then be tracking this info in our DB right? Should we add a column to track this? But yes, for now, lets check with Ops |
||
} | ||
|
||
type SiteUrlTypes = "staging" | "prod" | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removing the countGithubSites middleware to prevent excessive calls to github
cc @isomerpages/iso-engineers