Josh Yan 10 月之前
父节点
当前提交
9b3f47b674
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      api/client.go

+ 0 - 1
api/client.go

@@ -402,7 +402,6 @@ func (c *Client) IsLocal() bool {
 }
 }
 
 
 func Authorization(ctx context.Context, request *http.Request) (string, error) {
 func Authorization(ctx context.Context, request *http.Request) (string, error) {
-
 	data := []byte(fmt.Sprintf("%s,%s,%d", request.Method, request.URL.RequestURI(), time.Now().Unix()))
 	data := []byte(fmt.Sprintf("%s,%s,%d", request.Method, request.URL.RequestURI(), time.Now().Unix()))
 
 
 	home, err := os.UserHomeDir()
 	home, err := os.UserHomeDir()