Skip to content

Commit

Permalink
Merge pull request #616 from Rishikant181/dev
Browse files Browse the repository at this point in the history
v4.1.1
  • Loading branch information
Rishikant181 authored Sep 16, 2024
2 parents ec9dc05 + b2004a2 commit a58c52b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rettiwt-api",
"version": "4.1.0",
"version": "4.1.1",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"description": "An API for fetching data from TwitterAPI, without any rate limits!",
Expand Down Expand Up @@ -36,7 +36,7 @@
"commander": "11.1.0",
"https-proxy-agent": "7.0.2",
"rettiwt-auth": "2.1.0",
"rettiwt-core": "4.3.0-alpha.0"
"rettiwt-core": "4.3.0"
},
"devDependencies": {
"@types/node": "20.4.1",
Expand Down
13 changes: 10 additions & 3 deletions src/models/args/PostArgs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,16 @@ export class PostArgs {
*/
@IsEmpty({
groups: [
EResourceType.MEDIA_UPLOAD_APPEND,
EResourceType.MEDIA_UPLOAD_FINALIZE,
EResourceType.MEDIA_UPLOAD_INITIALIZE,
EResourceType.TWEET_LIKE,
EResourceType.TWEET_POST,
EResourceType.TWEET_RETWEET,
EResourceType.TWEET_SCHEDULE,
EResourceType.TWEET_UNLIKE,
EResourceType.TWEET_UNPOST,
EResourceType.TWEET_UNRETWEET,
EResourceType.TWEET_UNSCHEDULE,
EResourceType.USER_FOLLOW,
EResourceType.USER_UNFOLLOW,
],
})
@IsNotEmpty({
Expand Down

0 comments on commit a58c52b

Please sign in to comment.