Skip to content

Commit 51cfe53

Browse files
committed
fix(google-tasks): return actual taskId in delete response
1 parent fb94c75 commit 51cfe53

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/sim/tools/google_tasks/delete.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ export const deleteTool: ToolConfig<GoogleTasksDeleteParams, GoogleTasksDeleteRe
4545
}),
4646
},
4747

48-
transformResponse: async (response: Response) => {
48+
transformResponse: async (response: Response, params) => {
4949
if (response.status === 204 || response.ok) {
5050
return {
5151
success: true,
5252
output: {
53-
taskId: '',
53+
taskId: params?.taskId || '',
5454
deleted: true,
5555
},
5656
}

0 commit comments

Comments
 (0)