Skip to content

Commit f047309

Browse files
committed
[CPL-19830] don't pass the default method
1 parent a25e75b commit f047309

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/tools/list-dataflows/handler.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,7 @@ export const handler = async (): Promise<CallToolResult> => {
99
const coupler = new CouplerioClient({ auth: COUPLER_ACCESS_TOKEN })
1010
const query = new URLSearchParams({ type: 'from_template' })
1111

12-
const response = await coupler.request(`/dataflows?${query}`, {
13-
request: {
14-
method: 'GET'
15-
}
16-
})
12+
const response = await coupler.request(`/dataflows?${query}`)
1713

1814
if (!response.ok) {
1915
logger.error(`Failed to list dataflows. Response status: ${response.status}`)

0 commit comments

Comments
 (0)