Glavin001 / Glavin001/Self-Service

Change callback return API from (error, response, data) to (error, data, response)

Open
#14 0 comments 0 reactions 1 assignee Claimed by @Glavin001 View on GitHub
enhancement
Dominant language
JavaScript
Stars
9
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Change callback return API from `(error, response, data)` to `(error, data, response)`.
We should care more about the `data` than the response. The response is messy. The whole point of this library is to handle the response parsing!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.