这是indexloc提供的服务,不要输入任何密码
Skip to content
This repository was archived by the owner on Aug 23, 2024. It is now read-only.

Implementing ghteam.destroy #199

Merged
merged 1 commit into from
Sep 9, 2015
Merged

Implementing ghteam.destroy #199

merged 1 commit into from
Sep 9, 2015

Conversation

jeffwilcox
Copy link
Contributor

No description provided.

destroy: (cb) ->
@client.del "/teams/#{@id}", {}, (err, s, b, h) ->
return cb(err) if err
if s isnt 204 then cb(new Error("Team destroy error")) else cb null
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cb null, b, h at the end please.

@pksunkara
Copy link
Owner

Just a minor thing to fix, otherwise lgtm.

@jeffwilcox
Copy link
Contributor Author

Addressed and squashed.

pksunkara added a commit that referenced this pull request Sep 9, 2015
Implementing ghteam.destroy
@pksunkara pksunkara merged commit 153c612 into pksunkara:master Sep 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants