diff --git a/framework/core/src/Api/Serializers/DiscussionBasicSerializer.php b/framework/core/src/Api/Serializers/DiscussionBasicSerializer.php index b1c09ed4b..d9f69eedd 100644 --- a/framework/core/src/Api/Serializers/DiscussionBasicSerializer.php +++ b/framework/core/src/Api/Serializers/DiscussionBasicSerializer.php @@ -2,6 +2,8 @@ class DiscussionBasicSerializer extends BaseSerializer { + protected static $relationships = []; + /** * The resource type. * diff --git a/framework/core/src/Api/Serializers/PostBasicSerializer.php b/framework/core/src/Api/Serializers/PostBasicSerializer.php index 25aa96518..f8cfaae0b 100644 --- a/framework/core/src/Api/Serializers/PostBasicSerializer.php +++ b/framework/core/src/Api/Serializers/PostBasicSerializer.php @@ -2,6 +2,8 @@ class PostBasicSerializer extends BaseSerializer { + protected static $relationships = []; + /** * The resource type. *