Skip to content

Commit 7aa250a

Browse files
Merge pull request #118 from contentstack/development
Development
2 parents 7c96c98 + 1ec4962 commit 7aa250a

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

.talismanrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fileignoreconfig:
1313
- filename: Contentstack.Core/Models/Asset.cs
1414
checksum: d192718723e6cb2aa8f08f873d3a7ea7268c89cc15da3bdeea4c16fd304c410e
1515
- filename: Contentstack.Core/Models/Query.cs
16-
checksum: fb9b5e4014f937d66b9028b35ea53d750e4d2659daaa48a2941c02f37429725f
16+
checksum: 5816324addf20bc9ed66496ed3f18a90a2a140763378f899798d2d3b019c5f14
1717
- filename: Contentstack.Core/Models/Taxonomy.cs
1818
checksum: 751a725d94eff7d845bb22a5ce80a5529bb62971373de39288149fff3d024930
1919
- filename: .github/workflows/nuget-publish.yml

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
### Version: 2.22.2
2+
#### Date: July-14-2025
3+
4+
##### Fix:
5+
- Fixed token issue for Live Preview
6+
17
### Version: 2.22.1
28
#### Date: June-13-2025
39

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @contentstack/security-admin
1+
* @contentstack/security-admin

Contentstack.Core/Models/Query.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1886,11 +1886,11 @@ private async Task<JObject> Exec()
18861886
if (this.ContentTypeInstance!=null && this.ContentTypeInstance?.StackInstance.LivePreviewConfig.Enable == true
18871887
&& this.ContentTypeInstance?.StackInstance.LivePreviewConfig.ContentTypeUID == this.ContentTypeInstance?.ContentTypeId
18881888
&& header.Key == "access_token"
1889-
&& isLivePreview)
1889+
&& !string.IsNullOrEmpty(this.ContentTypeInstance.StackInstance.LivePreviewConfig.LivePreview))
18901890
{
18911891
continue;
18921892
}
1893-
headerAll.Add(header.Key, (string)header.Value);
1893+
headerAll.Add(header.Key, (String)header.Value);
18941894
}
18951895
}
18961896

Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>2.22.1</Version>
3+
<Version>2.22.2</Version>
44
</PropertyGroup>
55
</Project>

0 commit comments

Comments
 (0)