MCPcopy Index your code
hub / github.com/github-tools/github / unfollow

Method unfollow

lib/User.js:200–202  ·  view source on GitHub ↗

* Have the currently authenticated user unfollow this user * @see https://developer.github.com/v3/users/followers/#follow-a-user * @param {string} username - the user to unfollow * @param {Requestable.callback} [cb] - receives true if the request succeeds * @return {Promise} - the pr

(username, cb)

Source from the content-addressed store, hash-verified

198 * @return {Promise} - the promise for the http request
199 */
200 unfollow(username, cb) {
201 return this._request('DELETE', `/user/following/${username}`, null, cb);
202 }
203
204 /**
205 * Create a new repository for the currently authenticated user

Callers 1

user.spec.jsFile · 0.80

Calls 1

_requestMethod · 0.80

Tested by

no test coverage detected