Closed Xiaoyang-Gu closed 3 years ago
Signed-off-by: guxiaoyang_s20_307 guxiaoyang@bupt.edu.cn
Fix: https://github.com/casbin/casbin-dashboard/issues/135
Add access_token into http header when access the GitHub API to avoid the error [E] [account.go:97] json: cannot unmarshal object into Go value of type []controllers.userEmailFromGithub, fixed #135 .
access_token
[E] [account.go:97] json: cannot unmarshal object into Go value of type []controllers.userEmailFromGithub
@hsluoyz Please review!
@BetaCat0 @GopherJ Please review!
@BetaCat0 I have remove the hard-coding method temporarily.
Signed-off-by: guxiaoyang_s20_307 guxiaoyang@bupt.edu.cn
Fix: https://github.com/casbin/casbin-dashboard/issues/135
Description :
Add
access_token
into http header when access the GitHub API to avoid the error[E] [account.go:97] json: cannot unmarshal object into Go value of type []controllers.userEmailFromGithub
, fixed #135 .Screenshot of changes :
Please ensure Checkmark the following :