Restore comment re-use code
This commit is contained in:
parent
2868b234d3
commit
38dc33b359
|
@ -366,7 +366,7 @@
|
|||
nil)]
|
||||
(log/info (str "Updating " owner "/" repo "/" issue-number
|
||||
" comment #" comment-id " with contents: " comment))
|
||||
(if (= state :deploying)
|
||||
(if (and (= state :deploying) (nil? comment-id))
|
||||
(let [resp (issues/create-comment owner repo issue-number comment (self-auth-params))
|
||||
comment-id (:id resp)]
|
||||
(db-issues/update-comment-id issue-id comment-id))
|
||||
|
|
Loading…
Reference in New Issue