Skip to content

Commit

Permalink
fix repo name
Browse files Browse the repository at this point in the history
Signed-off-by: Pranav Singh <pranavsingh02@hotmail.com>
  • Loading branch information
theBeginner86 authored Dec 25, 2024
1 parent 89678c2 commit 156f1d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/kanvas-snapshot/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ 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)
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)))
req, err := http.NewRequest("POST", "https://api.github.com/repos/meshery/helm-kanvas-snapshot/actions/workflows/kanvas.yml/dispatches", bytes.NewBuffer([]byte(payload)))
fmt.Println(err)
if err != nil {
return err
Expand Down

0 comments on commit 156f1d7

Please sign in to comment.