Skip to content

Commit 5d74ca9

Browse files
authored
Merge pull request #5 from ok-timmy/timmyBranch
Resolved the issue #4
2 parents 67ddc66 + 57455e0 commit 5d74ca9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/google-sheet-connector.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ export class GoogleSheetConnectorService{
130130
*/
131131
async readCell(spreadsheetId: string,cell: string): Promise<any> {
132132

133-
const range = this.readRange(spreadsheetId, cell);
133+
const range = await this.readRange(spreadsheetId, cell);
134134

135135
return range[0][0];
136136
}
@@ -153,7 +153,7 @@ export class GoogleSheetConnectorService{
153153
return await sheets.spreadsheets.values.update({
154154
spreadsheetId,
155155
range,
156-
valueInputOption: 'USER_ENTER',
156+
valueInputOption: 'USER_ENTERED',
157157
requestBody: {
158158
values
159159
}

0 commit comments

Comments
 (0)