Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
ce-nistal committed Oct 10, 2024
1 parent 3b8d791 commit e5fa39f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Apps.GoogleSheets/Actions/SpreadsheetActions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public async Task<ColumnDto> GetColumn(
}

[Action("Update sheet column", Description = "Update column by start address")]
public async Task UpdateColumn(
public async Task<ColumnDto> UpdateColumn(
[ActionParameter] SpreadsheetFileRequest spreadsheetFileRequest,
[ActionParameter] SheetRequest sheetRequest,
[ActionParameter] UpdateRowRequest updateRowRequest)
Expand All @@ -201,6 +201,7 @@ public async Task UpdateColumn(
updateRequest.ValueInputOption = UpdateRequest.ValueInputOptionEnum.USERENTERED;
updateRequest.IncludeValuesInResponse = true;
var result = await updateRequest.ExecuteAsync();
return new ColumnDto() { Column = result.UpdatedData.Values[0].Select(x => x.ToString()).ToList() };
}

[Action("Find sheet row", Description = "Providing a column address and a value, return row number where said value is located")]
Expand Down

0 comments on commit e5fa39f

Please sign in to comment.