Skip to content

Commit 675ed3b

Browse files
committed
fix #62
Signed-off-by: ふぁ <yuki@yuki0311.com>
1 parent 7eb4be3 commit 675ed3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

twitter-openapi-typescript/src/apis/tweetApi.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type GetSearchTimelineParam = {
2323
extraParam?: { [key: string]: any };
2424
};
2525
type GetHomeTimelineParam = {
26-
couser?: string;
26+
cursor?: string;
2727
count?: number;
2828
extraParam?: { [key: string]: any };
2929
};
@@ -147,7 +147,7 @@ export class TweetApiUtils {
147147
async getHomeTimeline(param: GetHomeTimelineParam = {}): Promise<ResponseType> {
148148
const args = {
149149
...(param.count == undefined ? {} : { count: param.count }),
150-
...(param.couser == undefined ? {} : { couser: param.couser }),
150+
...(param.cursor == undefined ? {} : { cursor: param.cursor }),
151151
...param.extraParam,
152152
};
153153

0 commit comments

Comments
 (0)