Skip to content

Commit 04f22ae

Browse files
committed
Merge branch 'staging' into feat/DX-3249
2 parents 6d78a22 + cab1943 commit 04f22ae

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
##### Feat:
55
- Fetch Assets using tags
66

7+
### Version: 2.22.2
8+
#### Date: July-14-2025
9+
10+
##### Fix:
11+
- Fixed token issue for Live Preview
712

813
### Version: 2.22.1
914
#### Date: June-13-2025

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

0 commit comments

Comments
 (0)