Skip to content

Response on registration or authorization error does not come to the promise #5

@trean

Description

@trean

Response on registration or authorization error does not come to the promise

For example if a wrong email has been sent in request:

mongoSitesApi
    .auth(email, passwd)
    .then(function (res) {

      // nothing here

    }, function (err) {

      // nothing here

    })
    .catch(function (err) {
     
     // error was catched but error is undefined

    });

Metadata

Metadata

Assignees

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