@mtgame/core 0.1.101 → 0.1.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6211,10 +6211,9 @@
|
|
|
6211
6211
|
return __awaiter(this, void 0, void 0, function () {
|
|
6212
6212
|
var httpParams;
|
|
6213
6213
|
return __generator(this, function (_a) {
|
|
6214
|
-
httpParams = new i1.HttpParams();
|
|
6215
|
-
httpParams.set('file_type', format);
|
|
6214
|
+
httpParams = new i1.HttpParams().set('file_type', format);
|
|
6216
6215
|
if (isChess) {
|
|
6217
|
-
httpParams.set('isChess',
|
|
6216
|
+
httpParams = httpParams.set('isChess', true);
|
|
6218
6217
|
}
|
|
6219
6218
|
return [2 /*return*/, this.httpClient.get(this.configService.get('apiUrl') + "/api/v1/tournament/" + tournamentId + "/table_file/", {
|
|
6220
6219
|
params: httpParams,
|