Skip to content

verify's callback function does not conform to Node.js standards #8

@cappslock

Description

@cappslock

Callback functions in Node.js are generally of the format

function (error, otherParameter) {}

But the verify method uses the format

function (success, error_code) {}

This seems unnecessary, as success can easily be indicated by the absence of an error code.

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