diff --git a/cmd/kanvas-snapshot/cmd.go b/cmd/kanvas-snapshot/cmd.go index 2a0cdac308..a1091e54b3 100644 --- a/cmd/kanvas-snapshot/cmd.go +++ b/cmd/kanvas-snapshot/cmd.go @@ -207,7 +207,8 @@ func CreateMesheryDesign(uri, name, email string) (string, error) { func GenerateSnapshot(contentID, assetLocation string, ghAccessToken string) error { payload := fmt.Sprintf(`{"ref":"master","inputs":{"contentID":"%s","assetLocation":"%s"}}`, contentID, assetLocation) - req, err := http.NewRequest("POST", "https://api.github.com/repos/meshery/meshery.io/actions/workflows/kanvas.yml/dispatches", bytes.NewBuffer([]byte(payload))) + fmt.Println("check for access token", len(ghAccessToken)) + req, err := http.NewRequest("POST", "https://api.github.com/repos/thebeginner86/my-yamls/actions/workflows/kanvas.yml/dispatches", bytes.NewBuffer([]byte(payload))) fmt.Println(err) if err != nil { return err