Skip to content

Commit

Permalink
fix error 500 (#2682)
Browse files Browse the repository at this point in the history
  • Loading branch information
ildyria authored Nov 14, 2024
1 parent f6a72dd commit 860e807
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Http/Resources/Models/TagAlbumResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion resources/js/lychee.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string>;
Expand Down

0 comments on commit 860e807

Please sign in to comment.