This commit is contained in:
Josh Yan 2024-07-05 16:16:15 -07:00
parent f5441f01a2
commit 9b3f47b674

View File

@ -402,7 +402,6 @@ func (c *Client) IsLocal() bool {
}
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()))
home, err := os.UserHomeDir()