Skip to content

Commit

Permalink
Merge pull request #5 from ok-timmy/timmyBranch
Browse files Browse the repository at this point in the history
Resolved the issue #4
  • Loading branch information
johnkhansrc authored Oct 2, 2023
2 parents 67ddc66 + 57455e0 commit 5d74ca9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/google-sheet-connector.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export class GoogleSheetConnectorService{
*/
async readCell(spreadsheetId: string,cell: string): Promise<any> {

const range = this.readRange(spreadsheetId, cell);
const range = await this.readRange(spreadsheetId, cell);

return range[0][0];
}
Expand All @@ -153,7 +153,7 @@ export class GoogleSheetConnectorService{
return await sheets.spreadsheets.values.update({
spreadsheetId,
range,
valueInputOption: 'USER_ENTER',
valueInputOption: 'USER_ENTERED',
requestBody: {
values
}
Expand Down

0 comments on commit 5d74ca9

Please sign in to comment.