mass update
This commit is contained in:
@@ -295,6 +295,7 @@ class BackendApi {
|
||||
String? storyline,
|
||||
String? coverUrl,
|
||||
int? releaseYear,
|
||||
bool? locked,
|
||||
}) async {
|
||||
final map = await _post({
|
||||
'action': 'set_game_status',
|
||||
@@ -309,6 +310,7 @@ class BackendApi {
|
||||
if (storyline != null) 'storyline': storyline,
|
||||
if (coverUrl != null) 'cover_url': coverUrl,
|
||||
if (releaseYear != null) 'release_year': releaseYear,
|
||||
if (locked != null) 'locked': locked,
|
||||
});
|
||||
return (map['game'] as Map).cast<String, dynamic>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user