copy-github-labels icon indicating copy to clipboard operation
copy-github-labels copied to clipboard

Host and Protocol options no longer supported by octokit

Open moekraft opened this issue 3 years ago • 1 comments

Trying to copy labels between enterprise GH repos and receive errors on the options passed.

DEPRECATED (@octokit/rest): protocol option is no longer supported DEPRECATED (@octokit/rest): host option is no longer supported [before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4 DEPRECATED (@octokit/rest): issues.getLabels() is deprecated, use issues.listLabelsForRepo() DEPRECATED (@octokit/rest): error.toJSON() – use error.code, error.status, error.message instead 1: Could not copy label: {"code":406,"message":""}

moekraft avatar Nov 03 '22 17:11 moekraft

I have the same problem. Did you find any solution?

FMCalisto avatar Mar 07 '24 20:03 FMCalisto