Skip to content

Commit

Permalink
fix: archiver_key not obtained from eh api
Browse files Browse the repository at this point in the history
  • Loading branch information
lifegpc authored Dec 31, 2024
1 parent 426396c commit 754b6bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/api/eh.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion lib/api/eh.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 754b6bf

Please sign in to comment.