We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12367d5 commit e829dbaCopy full SHA for e829dba
src/request.ts
@@ -55,9 +55,11 @@ export async function request({
55
{
56
...options,
57
headers: {
58
- "User-Agent": `twitter-api-typescript-sdk/1.0.0`,
59
...options.headers,
60
- ...(isPost ? { "Content-Type": "application/json; charset=utf-8" } : undefined),
+ "User-Agent": `twitter-api-typescript-sdk/1.0.0`,
+ ...(isPost
61
+ ? { "Content-Type": "application/json; charset=utf-8" }
62
+ : undefined),
63
...authHeader,
64
},
65
method,
0 commit comments