vermiculus / magithub

**DEPRECATED - please use Forge instead!** -- Magit-based interfaces to GitHub
GNU General Public License v3.0
579 stars 62 forks source link

Issue closing error #397

Closed mgcyung closed 5 years ago

mgcyung commented 5 years ago

It says "user-error: Cannot close this issue: not the issue owner or an administrator of this repo" when I close a issue created by me.

vermiculus commented 5 years ago

What issue is it?

mgcyung commented 5 years ago

Can not close a issue by 'magithub-issue-close'. The error says "user-error: Cannot close this issue: not the issue owner or an administrator of this repo". The issue is created by myself such as the one we are in.

vermiculus commented 5 years ago

Sorry if I was unclear – can you link to the issue that you cannot close?

mgcyung commented 5 years ago

Such as the current issue https://github.com/vermiculus/magithub/issues/397.

vermiculus commented 5 years ago

What does (let-alist (magithub-user-me) .user.login) evaluate to for you? If that's nil, how about (let-alist (magithub-user-me) .login)?

mgcyung commented 5 years ago

What does (let-alist (magithub-user-me) .user.login) evaluate to for you? If that's nil, how about (let-alist (magithub-user-me) .login)?

(let-alist (magithub-user-me) .user.login) is evaluated to 'nil' and (let-alist (magithub-user-me) .login) is evaluat to 'mgcyung'

vermiculus commented 5 years ago

Should be fixed with the next MELPA update. Thanks for the report!

mgcyung commented 5 years ago

Yes, it works now. Thanks for the great work.