Skip to content
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

Fix/Project sitemap sharacter escaping #4923

Merged
merged 1 commit into from
Jan 6, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions pages/api/generate-sitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,6 @@ async function getArchivedRounds() {
async function getUsers(skip: number) {
const apolloClient = initializeApollo();

console.log('GraphQL Query:', FETCH_ALL_USERS_BASIC_DATA);
console.log('Variables:', { limit: 50, skip: skip });

const { data } = await apolloClient.query({
query: FETCH_ALL_USERS_BASIC_DATA, // Query for user data
variables: {
Expand All @@ -262,7 +259,5 @@ async function getUsers(skip: number) {
fetchPolicy: 'no-cache',
});

console.log({ data });

return data.allUsersBasicData || { users: [], totalCount: 0 };
}
Loading
Loading