Fix because of some breaking changes of Graby 2.0

This commit is contained in:
adev
2017-11-11 20:04:15 +01:00
committed by Jeremy Benoist
parent bf9ace0643
commit 5f08426201
4 changed files with 50 additions and 48 deletions

View File

@ -35,7 +35,9 @@ class WallabagV2Import extends WallabagImport
{
return [
'html' => $entry['content'],
'content_type' => $entry['mimetype'],
'headers' => [
'content-type' => $entry['mimetype'],
],
'is_archived' => (bool) ($entry['is_archived'] || $this->markAsRead),
'is_starred' => (bool) $entry['is_starred'],
] + $entry;