This commit is contained in:
Josh Yan 2024-07-05 16:16:15 -07:00
parent 6dd9be55e2
commit 857054f9fa

View File

@ -411,7 +411,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()