diff --git a/gatherling/api_lib.php b/gatherling/api_lib.php index 9bb720b9f..30df98bcf 100644 --- a/gatherling/api_lib.php +++ b/gatherling/api_lib.php @@ -187,8 +187,8 @@ function repr_json_deck($deck) if ($deck->id != 0) { $json['found'] = 1; $json = populate($json, $deck, ['playername', 'name', 'archetype', 'notes']); - $json['maindeck'] = (object)$deck->maindeck_cards; - $json['sideboard'] = (object)$deck->sideboard_cards; + $json['maindeck'] = (object) $deck->maindeck_cards; + $json['sideboard'] = (object) $deck->sideboard_cards; } else { $json['found'] = 0; }