Skip to content

Commit 404e51b

Browse files
committed
fix(x): revert block requiredScopes to match current operations
1 parent fa747e5 commit 404e51b

File tree

1 file changed

+1
-17
lines changed
  • apps/sim/blocks/blocks

1 file changed

+1
-17
lines changed

apps/sim/blocks/blocks/x.ts

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,7 @@ export const XBlock: BlockConfig<XResponse> = {
3434
serviceId: 'x',
3535
canonicalParamId: 'oauthCredential',
3636
mode: 'basic',
37-
requiredScopes: [
38-
'tweet.read',
39-
'tweet.write',
40-
'tweet.moderate.write',
41-
'users.read',
42-
'follows.read',
43-
'follows.write',
44-
'bookmark.read',
45-
'bookmark.write',
46-
'like.read',
47-
'like.write',
48-
'block.read',
49-
'block.write',
50-
'mute.read',
51-
'mute.write',
52-
'offline.access',
53-
],
37+
requiredScopes: ['tweet.read', 'tweet.write', 'users.read', 'offline.access'],
5438
placeholder: 'Select X account',
5539
},
5640
{

0 commit comments

Comments
 (0)