hotfix article title not being used

This commit is contained in:
Yannis Vogel 2025-05-22 20:55:21 +02:00
parent 62cfd6ef0d
commit 572bb376c1
No known key found for this signature in database

View file

@ -408,7 +408,7 @@ class ContentNation implements Connector
$ap['object'] = [
'type' => 'Article',
'id' => $ourUrl . "/" . $articleOwnerName . "/" . $articleName,
'name' => $jsonData['object']['name'] ?? null,
'name' => $jsonData['object']['title'] ?? null,
'published' => $originalPublished,
'summary' => $jsonData['object']['summary'] ?? null,
'content' => $jsonData['object']['content'] ?? null,