mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-09-09 01:16:50 -05:00
fix: fix no-auth redirects for discourse SSO
This commit is contained in:
@@ -68,11 +68,9 @@ query getProjectsV2($orgName: String!, $cursor: String) {
|
||||
async function getGitHubProjectsWithItemsV2(octokit: Octokit) {
|
||||
const projects: Array<{ id: string; title: string; url: string | null; items: Array<{ title: string; column: string }> }> = [];
|
||||
|
||||
console.log('Get projects');
|
||||
const data = await octokit.graphql.paginate(getProjectsWithItemsV2GQL, {
|
||||
orgName: orgName
|
||||
});
|
||||
console.log('Finished get projects');
|
||||
|
||||
for (const node of data.organization.projectsV2.nodes) {
|
||||
projects.push({
|
||||
|
||||
Reference in New Issue
Block a user