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

Problem with hashes in v2/project/*/version #2528

Open
pysio2007 opened this issue Oct 7, 2024 · 0 comments
Open

Problem with hashes in v2/project/*/version #2528

pysio2007 opened this issue Oct 7, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@pysio2007
Copy link

Describe the bug

I requested https://api.modrinth.com/v2/project/qVtYMgSP/version
Found that it returns the hash twice for a file The downloads are the same

     {
        "hashes": {
          "sha1": "8744da69855746d4a7e5fc00de3de3c8af6f1e84",
          "sha512": "e07ab79f8773f9d72101158576f66c5c0e072ec9340235d5010c776b19bf70e62d29e3a365040aa02b40122e77e73efb7d3ec93b6dd081688b5b980567592373"
        },
        "url": "https://cdn.modrinth.com/data/qVtYMgSP/versions/ZJfYNdXc/stackitem64-1.1.1.jar",
        "filename": "stackitem64-1.1.1.jar",
        "primary": true,
        "size": 19084,
        "file_type": null
      },
      {
        "hashes": {
          "sha512": "5a111f76b63fd6570230bd19f0c5daafa1b695eec8fd3913e765ebf58f04a87079f3e58f6fe72da9fad526bb924982805f006839669aa3c11ea2aef3238ea940",
          "sha1": "b50f6649b855e1fc4ad8ab6eb1b316a28f5fa33d"
        },
        "url": "https://cdn.modrinth.com/data/qVtYMgSP/versions/ZJfYNdXc/stackitem64-1.1.1.jar",
        "filename": "stackitem64-1.1.1.jar",
        "primary": false,
        "size": 19124,
        "file_type": null
      }
    ],

Steps to reproduce

Request https://api.modrinth.com/v2/project/qVtYMgSP/version
Getting a return value Finding an error

Expected behavior

No response

Additional context

No response

@pysio2007 pysio2007 added the bug Something isn't working label Oct 7, 2024
@Prospector Prospector transferred this issue from modrinth/labrinth Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant