Skip to content

Commit

Permalink
feat: Add a default locale fallback for assets that are unpublished
Browse files Browse the repository at this point in the history
  • Loading branch information
Dobefu committed Jan 15, 2025
1 parent 50da6b6 commit 4f68c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/cs_sdk/functions/sync.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ func addAllAssets(data map[string]interface{}) error {

if !hasPublishDetails {
publishDetails = map[string]interface{}{
"locale": "",
"locale": assetData["locale"],
}
}

Expand Down

0 comments on commit 4f68c9c

Please sign in to comment.