Skip to content

Commit

Permalink
Merge pull request #9 from Kentico/feat/Hotfix_30_0_1
Browse files Browse the repository at this point in the history
Upgrade XbK version to 30 0 1
  • Loading branch information
Rumec authored Jan 14, 2025
2 parents b54343b + afbe01a commit 28f3545
Show file tree
Hide file tree
Showing 5 changed files with 106 additions and 168 deletions.
2 changes: 1 addition & 1 deletion Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="Kentico.Xperience.Core" Version="29.3.2" />
<PackageVersion Include="Kentico.Xperience.Core" Version="30.0.1" />
<PackageVersion Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageVersion Include="SonarAnalyzer.CSharp" Version="9.23.0.88079" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ public class ContentItemAddParams
{
public required ContentItemSynchronizationBase ContentItem { get; set; }

public required string WorkspaceName { get; set; }

public required string LanguageName { get; set; }

public int UserID { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ public async Task<int> AddContentItem(ContentItemAddParams addParams)
addParams.ContentItem.ContentTypeName,
addParams.ContentItem.GenerateCodeName(),
addParams.ContentItem.DisplayName,
addParams.LanguageName);
addParams.LanguageName,
addParams.WorkspaceName);
var itemData = new ContentItemData(addParams.ContentItem.ToDict());

var contentItemManager = ContentItemManagerFactory.Create(addParams.UserID);
Expand Down

This file was deleted.

Loading

0 comments on commit 28f3545

Please sign in to comment.