Skip to content
This repository was archived by the owner on Aug 21, 2026. It is now read-only.
This repository was archived by the owner on Aug 21, 2026. It is now read-only.

Uncaught (in promise) TypeError: (intermediate value).json is not a function @ comments.js:204:50 #3

Description

@justdave

When using https://techhub.social/@bugzilla/113075108225527291 as a Mastodon link, no comments appear, and I get the following error in the console:

Uncaught (in promise) TypeError: (intermediate value).json is not a function @ comments.js:204:50

That line contains the following:

    return await (await fetch(url), { headers }).json();

changing that to:

    return await (await fetch(url, { headers })).json();

resolves the issue. ({headers} is supposed to be an argument to fetch() it looks like)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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