diff --git a/app/Http/Resources/Models/TagAlbumResource.php b/app/Http/Resources/Models/TagAlbumResource.php index f8f13f718cf..451582b9d16 100644 --- a/app/Http/Resources/Models/TagAlbumResource.php +++ b/app/Http/Resources/Models/TagAlbumResource.php @@ -23,7 +23,7 @@ class TagAlbumResource extends Data public string $id; public string $title; - public string $owner_name; + public ?string $owner_name; public ?string $copyright; public bool $is_tag_album; diff --git a/resources/js/lychee.d.ts b/resources/js/lychee.d.ts index 5fdcb375b32..a9c1076ed91 100644 --- a/resources/js/lychee.d.ts +++ b/resources/js/lychee.d.ts @@ -381,7 +381,7 @@ declare namespace App.Http.Resources.Models { export type TagAlbumResource = { id: string; title: string; - owner_name: string; + owner_name: string | null; copyright: string | null; is_tag_album: boolean; show_tags: Array;