Skip to content

Commit

Permalink
Merge branch 'trunk' into update/shopify-pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
brookewp committed Feb 25, 2025
2 parents b8b23b2 + 4116ed0 commit 18fea4a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/data-sources/api-clients/google.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ export class GoogleApi {
sheetTitle: string,
cellRange: string
): Promise< GoogleSheetsValueRange > {
const url = `${ GoogleApi.SHEETS_BASE_URL }/spreadsheets/${ spreadsheetId }/values/${ sheetTitle }!${ cellRange }`;
const range = encodeURIComponent( `${ sheetTitle }!${ cellRange }` );
const url = `${ GoogleApi.SHEETS_BASE_URL }/spreadsheets/${ spreadsheetId }/values/${ range }`;
const result = await this.fetchApi< GoogleSheetsValueRange >( url );
return result;
}
Expand Down

0 comments on commit 18fea4a

Please sign in to comment.