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

Webhooks assume you use express #8

@doc-l2

Description

@doc-l2

If you don't use express, it's nearly impossible to use webhooks, because the webhook functionality assumes express responses:

resp.status(200).send({

A better function signature would be to have a function that has as input the body and headers of some request, and as output what should be sent as a result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions