This commit is contained in:
Peter Papp
2021-04-07 07:48:07 +02:00
parent 87b3625b27
commit 30ae2c0a54
13 changed files with 163 additions and 114 deletions

View File

@@ -19,11 +19,11 @@ class LanguageResource extends JsonResource
'id' => $this->id,
'type' => 'languages',
'attributes' => [
'name' => $this->name,
'locale' => $this->locale,
'name' => $this->name,
'locale' => $this->locale,
'translations' => map_language_translations($this->languageTranslations),
'updated_at' => $this->updated_at,
'created_at' => $this->created_at,
'updated_at' => $this->updated_at,
'created_at' => $this->created_at,
]
],
];