Merge pull request '新修了一个user.go中的显示bug' (#22) from zzx_branch into master
This commit is contained in:
commit
42fafdc8ed
|
|
@ -30,8 +30,7 @@ func Shortcuts() []*common.Shortcut {
|
|||
if err != nil {
|
||||
return err
|
||||
}
|
||||
// Use relative path to avoid URL construction issues
|
||||
env, err := ctx.CallAPI("GET", fmt.Sprintf("users/%s", login), nil)
|
||||
env, err := ctx.CallAPI("GET", fmt.Sprintf("/users/%s", login), nil)
|
||||
if err != nil {
|
||||
return fmt.Errorf("查看用户信息失败: %w", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue