Permalink
Browse files

gh-pulls-req-to-update should work with stubs

  • Loading branch information...
1 parent d24f608 commit b0fd827c8bf82088d5bbf8c9c0b0e8285d96017f @sigma committed May 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 gh-pulls.el
View
2 gh-pulls.el
@@ -135,7 +135,7 @@
("head" . ,(or (oref head :ref) (oref head :sha)))
("base" . ,(or (oref base :ref) (oref base :sha))))))
-(defmethod gh-pulls-req-to-update ((req gh-pulls-request))
+(defmethod gh-pulls-req-to-update ((req gh-pulls-request-stub))
`(("title" . ,(oref req :title))
("body" . ,(oref req :body))
("state" . ,(oref req :state))))

0 comments on commit b0fd827

Please sign in to comment.