Skip to content

Commit

Permalink
Merge pull request #554 from Rishikant181/not-found
Browse files Browse the repository at this point in the history
Fixed a bug where fetching tweet details returned NOT_FOUND error
  • Loading branch information
Rishikant181 authored Jun 17, 2024
2 parents 5403a25 + 30bf669 commit 80eb0c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"commander": "11.1.0",
"https-proxy-agent": "7.0.2",
"rettiwt-auth": "2.1.0",
"rettiwt-core": "4.0.0"
"rettiwt-core": "4.1.0-alpha.1"
},
"devDependencies": {
"@types/node": "20.4.1",
Expand Down
2 changes: 1 addition & 1 deletion src/collections/Requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const requests: { [key in keyof typeof EResourceType]: (args: FetchArgs |
MEDIA_UPLOAD_FINALIZE: (args: PostArgs) => request.media.finalizeUpload(args.upload!.id!),
MEDIA_UPLOAD_INITIALIZE: (args: PostArgs) => request.media.initializeUpload(args.upload!.size!),

TWEET_DETAILS: (args: FetchArgs) => request.tweet.details(args.id!),
TWEET_DETAILS: (args: FetchArgs) => request.tweet.replies(args.id!),
TWEET_LIKE: (args: PostArgs) => request.tweet.like(args.id!),
TWEET_LIKERS: (args: FetchArgs) => request.tweet.likers(args.id!, args.count, args.cursor),
TWEET_POST: (args: PostArgs) => request.tweet.post(args.tweet!),
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1665,10 +1665,10 @@ rettiwt-auth@2.1.0:
cookiejar "2.1.4"
https-proxy-agent "7.0.2"

rettiwt-core@4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/rettiwt-core/-/rettiwt-core-4.0.0.tgz#c6e868dd3e7b3f432b9bb4aa81eb8371f38d0732"
integrity sha512-BrcOBzdzmMUl44uEGIEYj1Y7+iUu//8ZeTbZeVHOTXTdiEdWtavmVeVQOplyJlwD9hJFG8OvOGEGU6L+xsOMeA==
rettiwt-core@4.1.0-alpha.1:
version "4.1.0-alpha.1"
resolved "https://registry.yarnpkg.com/rettiwt-core/-/rettiwt-core-4.1.0-alpha.1.tgz#94733e5e55a4bb678ada031cdcb00ac16e5269e4"
integrity sha512-jXTpUjC0t8IGgPx51auE8blbN2QafiKNI5xAD0OUrX0t6byTfGofMnOfAgHJPLDVWrXBM+YSwEvuI8U4Y+4+qg==
dependencies:
axios "1.6.3"
form-data "4.0.0"
Expand Down

0 comments on commit 80eb0c6

Please sign in to comment.