mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-30 21:45:01 +02:00
Same class of bug fixed in #10442 for graphql calls. The user-scoped Octokit returned by getOctokit() may lack the .rest plugin, causing "okit.rest.issues.createComment is not a function". Add ensureRESTOctokit() guard to both createGithubComment and updateComment paths. Fixes #10691 Signed-off-by: Yulian Diaz <5605867+spatialy@users.noreply.github.com>