fix: archiver_key not obtained from eh api

This commit is contained in:
2024-12-31 07:32:41 +00:00
committed by GitHub
parent 426396cbb0
commit 754b6bf721
2 changed files with 3 additions and 3 deletions

View File

@@ -28,7 +28,7 @@ class GalleryMetadataSingle {
const GalleryMetadataSingle({
required this.gid,
required this.token,
required this.archiverKey,
this.archiverKey,
required this.title,
required this.titleJpn,
required this.category,
@@ -50,7 +50,7 @@ class GalleryMetadataSingle {
final int gid;
final String token;
@JsonKey(name: 'archiver_key')
final String archiverKey;
final String? archiverKey;
final String title;
@JsonKey(name: 'title_jpn')
final String titleJpn;