aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/JsonApi
diff options
context:
space:
mode:
authorElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2026-02-18 16:56:50 +0100
committerElmar Ludwig <elmar.ludwig@uni-osnabrueck.de>2026-02-18 16:56:50 +0100
commitdb42e7dbb81076ec7de59d5c3d0d66fc7c9cb3f2 (patch)
treef77b940d1f16c5da0f02f619b6fb94e5ec0ca46e /lib/classes/JsonApi
parent93ab04fdc51ae681ff2d4ec9774d2b44244ea2f2 (diff)
reimplement SemClass and SemType as SORM classes, fixes #2785tic-2785
Diffstat (limited to 'lib/classes/JsonApi')
-rw-r--r--lib/classes/JsonApi/Schemas/SemType.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/JsonApi/Schemas/SemType.php b/lib/classes/JsonApi/Schemas/SemType.php
index 46b2e3c..20312e0 100644
--- a/lib/classes/JsonApi/Schemas/SemType.php
+++ b/lib/classes/JsonApi/Schemas/SemType.php
@@ -31,7 +31,7 @@ class SemType extends SchemaProvider
$relationships = [];
// SemClass
- $related = $resource->getClass();
+ $related = $resource->getSemClass();
$relationships[self::REL_SEM_CLASS] = [
self::RELATIONSHIP_LINKS => [
Link::RELATED => $this->createLinkToResource($related)