Skip to content

Fetching Hacktoberfest Contributions Data #39

@acmjec

Description

@acmjec

Title: Issue Fetching Hacktoberfest Contributions Data

Description:
There is a problem with retrieving Hacktoberfest contributions data after successful GitHub login.

  1. Extracting Username:
    After completing GitHub authorization, the username is extracted from the login parameter in the redirection URL.
    Example redirection URL:
    http://localhost:3000/dashboard?accessToken=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&login=Ghat0tkach

  2. API Endpoint for Contributions:
    To fetch Hacktoberfest contributions for a user, the following endpoint is used:
    [GET] https://gohacktober-backend.onrender.com/api/hacktoberfest-contributions?username={USERNAME}

Problem:
The API call to fetch Hacktoberfest contributions sometimes fails or returns incomplete data for certain usernames, resulting in inconsistent or missing contribution information.

Steps to Reproduce:

  1. Complete the GitHub OAuth login process and obtain the login parameter from the query string.
  2. Make an API request to the contributions endpoint using the extracted username.
  3. Observe the response from the API for data consistency.

Expected Behavior:
The API should return a complete list of Hacktoberfest contributions for the given username.

Actual Behavior:
The API may fail to return contributions or provide incomplete data for some users.

Additional Context:
Please include any relevant logs, error messages, or examples of users affected by this issue to aid in troubleshooting.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions