This commit is contained in:
@@ -114,8 +114,6 @@ func (s *commitService) CreateCommit(ctx context.Context, userID string, project
|
|||||||
return nil, fiber.NewError(fiber.StatusBadRequest, "Invalid snapshot JSON")
|
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{
|
commit, err := cRepoTx.Create(ctx, sqlc.CreateCommitParams{
|
||||||
ProjectID: projectUUID,
|
ProjectID: projectUUID,
|
||||||
SnapshotJson: snapshotJSON,
|
SnapshotJson: snapshotJSON,
|
||||||
|
|||||||
Reference in New Issue
Block a user