From 4047e7a579fd205c4998d5a3cf19f18d4b511151 Mon Sep 17 00:00:00 2001 From: ildyria Date: Wed, 13 Nov 2024 18:02:49 +0100 Subject: [PATCH] fix error 500 --- app/Http/Resources/Models/TagAlbumResource.php | 2 +- resources/js/lychee.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;