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

gogoanime in recent-episodes api return undifine #586

Open
ryzen322 opened this issue Mar 18, 2024 · 0 comments
Open

gogoanime in recent-episodes api return undifine #586

ryzen322 opened this issue Mar 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ryzen322
Copy link

ryzen322 commented Mar 18, 2024

Describe the bug

gogoanime in recent-episodes api return undifine

Steps to reproduce

im using rkt query to fetch this data from this url in my localdevice this is the url http://localhost:3000/meta/anilist/recent-episodes

i've tried using axios and fetch it return same error

getAllAnime: builder.query({
      query: (params) => {
        const { pages, perPage: totalPages } = params;

        page = 1,
        perPage = 20

        return {
                url: "recent-episodes",
                params: {
                  page: pages,
                  perPage: totalPages,
                  provider: "gogoanime",
                },
              };
          },
    }),

Expected behavior

it should return all the anime

Actual behavior

{
    "statusCode": 500,
    "error": "Internal Server Error",
    "message": "Cannot read properties of undefined (reading 'map')"
}

Additional context

Error messesage i couldnt found in consumet api

@ryzen322 ryzen322 added the bug Something isn't working label Mar 18, 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
Projects
None yet
Development

No branches or pull requests

1 participant