Skip to content

error "Searches that use qualifiers only are not allowed" for some users #167

Description

@martin-mfg

I noticed there's an error for the following request:

https://github-stats-extended.vercel.app/api?username=Shruthikshetty&include_all_commits=true
Image

But for another user with no commits the card works as expected:

https://github-stats-extended.vercel.app/api?username=martin100&include_all_commits=true
Image

For some reason the GitHub API behaves differently for these two users:
https://api.github.com/search/commits?login=martin-mfg&q=author:Shruthikshetty returns an error message saying "Search text is required when searching commits. Searches that use qualifiers only are not allowed. Were you searching for something else?"
https://api.github.com/search/commits?login=martin-mfg&q=author:martin100 simply returns an empty array.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions