mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
Fixed shelf covers being stored as 'cover_book'
Are now stored as 'cover_bookshelf' as expected. Added a migrate to alter existing shelf cover image types.
This commit is contained in:
@ -86,7 +86,7 @@ class Bookshelf extends Entity implements HasCoverImage
|
||||
*/
|
||||
public function coverImageTypeKey(): string
|
||||
{
|
||||
return 'cover_shelf';
|
||||
return 'cover_bookshelf';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user