Skip to content

Commit

Permalink
fix: use join method on set collection of api model code
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyentoanit committed Mar 5, 2021
1 parent 624eed9 commit 2d063d6
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/api-models/aplus-content-api-model/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1657,7 +1657,7 @@ export const AplusContentApiAxiosParamCreator = function (configuration?: Config
}

if (includedDataSet) {
localVarQueryParameter['includedDataSet'] = includedDataSet.join(COLLECTION_FORMATS.csv);
localVarQueryParameter['includedDataSet'] = [...includedDataSet].join(COLLECTION_FORMATS.csv);
}


Expand Down Expand Up @@ -1704,11 +1704,11 @@ export const AplusContentApiAxiosParamCreator = function (configuration?: Config
}

if (includedDataSet) {
localVarQueryParameter['includedDataSet'] = includedDataSet.join(COLLECTION_FORMATS.csv);
localVarQueryParameter['includedDataSet'] = [...includedDataSet].join(COLLECTION_FORMATS.csv);
}

if (asinSet) {
localVarQueryParameter['asinSet'] = asinSet.join(COLLECTION_FORMATS.csv);
localVarQueryParameter['asinSet'] = [...asinSet].join(COLLECTION_FORMATS.csv);
}

if (pageToken !== undefined) {
Expand Down Expand Up @@ -2017,7 +2017,7 @@ export const AplusContentApiAxiosParamCreator = function (configuration?: Config
}

if (asinSet) {
localVarQueryParameter['asinSet'] = asinSet.join(COLLECTION_FORMATS.csv);
localVarQueryParameter['asinSet'] = Array.from(asinSet).join(COLLECTION_FORMATS.csv);
}


Expand Down Expand Up @@ -2418,5 +2418,3 @@ export class AplusContentApi extends BaseAPI {
return AplusContentApiFp(this.configuration).validateContentDocumentAsinRelations(marketplaceId, postContentDocumentRequest, asinSet, options).then((request) => request(this.axios, this.basePath));
}
}


0 comments on commit 2d063d6

Please sign in to comment.