Skip to content

Commit eadab8f

Browse files
authored
Update packages/rest/src/index.ts
1 parent 7f42d5f commit eadab8f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/rest/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ async function makeFetch(
2525
const fullPath = withQueryParams(withPathParams(path, payload?.pathParams), payload?.query)
2626
const response = await fetch(`${config.baseUrl}${fullPath}`, {
2727
method: method,
28+
// TODO: Support uploading file and plain text
2829
headers: { 'Content-Type': 'application/json', ...payload?.headers },
2930
body: payload.body ? JSON.stringify(payload.body) : null,
3031
})

0 commit comments

Comments
 (0)