Skip to content

Commit

Permalink
#1314 | Executing Publish-Item against Experence Edge throws an error
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-null authored and michaellwest committed Sep 8, 2023
1 parent 5c672b4 commit bf18450
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Spe.Sitecore8/Services/SpePublishManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public PublishResult PublishSync(PublishOptions options)
{
var publishContext = PublishManager.CreatePublishContext(options);
publishContext.Languages = new[] { options.Language };
publishContext.Job = Sitecore.Context.Job;

return PublishPipeline.Run(publishContext);
}
Expand Down
1 change: 1 addition & 0 deletions src/Spe.Sitecore92/Services/SpePublishManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ public PublishResult PublishSync(PublishOptions options)
{
var publishContext = PublishManager.CreatePublishContext(options);
publishContext.Languages = new[] { options.Language };
publishContext.Job = Sitecore.Context.Job;

return PublishPipeline.Run(publishContext);
}
Expand Down

0 comments on commit bf18450

Please sign in to comment.