Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Changelog entry, remove one trailing whitespace

Aleksander Spyra818a45cf5511
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f6d0bad097..586204c29c 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,6 +12,7 @@ All notable, unreleased changes to this project will be documented in this file.
- Add instructions for using local assets in Docker - #3723 by @michaljelonek
- Remove unused imports - #3645 by @jxltom
- Add discount section - #3654 by @dominik-zeglen
+- Fix access to unpublished objects via API - #3724 by @Kwaidan00
## 2.3.0
diff --git a/saleor/graphql/product/types.py b/saleor/graphql/product/types.py
index c1e3fff743..90f0bbe885 100644
--- a/saleor/graphql/product/types.py
+++ b/saleor/graphql/product/types.py
@@ -446,7 +446,7 @@ class Collection(CountableDjangoObjectType):
return self.prefetched_products
qs = self.products.visible_to_user(info.context.user)
return gql_optimizer.query(qs, info)
-
+
@classmethod
def get_node(cls, info, id):
if info.context: