diff --git a/internal/services/commitService.go b/internal/services/commitService.go index 1c18801..b940aad 100644 --- a/internal/services/commitService.go +++ b/internal/services/commitService.go @@ -114,6 +114,8 @@ func (s *commitService) CreateCommit(ctx context.Context, userID string, project return nil, fiber.NewError(fiber.StatusBadRequest, "Invalid snapshot JSON") } + fmt.Printf("snapshotJSON in CreateCommit: %s\n", string(snapshotJSON)) + commit, err := cRepoTx.Create(ctx, sqlc.CreateCommitParams{ ProjectID: projectUUID, SnapshotJson: snapshotJSON,