Skip to content

data is null on Functions when useCallFunction used #98

Description

@erayerdin

Classic way to call:

const functions = useContext(FirebaseFunctionsContext)!;
const rejectSingUpRequest = httpsCallable(functions, 'rejectSignUpRequest');
await rejectSignUpRequest({
  uid: userId,
});

...passes the data to backend. However, when useCallFunction is used, it is always null on backend.

Activity

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

Metadata

Metadata

Assignees

Labels

severity|highThe related issue causes to consume too much resourcestype|bugSomething isn't working

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions