Skip to content

How reject works? #110

Description

@BenTimor

Lets say I listen to some push event and for some reason I decide to reject this push. I tried to do something like:

repos.on("push", (data: PushData) => {
    data.reject(403, `Rejected! Have a good day`)
});

It really returns some error to the client, But it doesn't return the specific message I chose (It does send the correct code)

What am I doing wrong?

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