Skip to content

TypeError: this[#client].defaultMutationOptions is not a function #35

Description

@joehannouch

I've successfully integrated all my Get calls and got to the Post mutations now.
I'm using NextJs 13.3.2
As soon as I make a call to the mutation I get an Unhandled Runtime Error

Unhandled Runtime Error
TypeError: this[#client].defaultMutationOptions is not a function

image

A brief example of my mutation call:
const addContentMutation = useContentControllerCreateContentMutation();

Help is appreciated

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions