Skip to content

Commit 38fe450

Browse files
authored
add media write scope (#596)
1 parent c0c926b commit 38fe450

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types/auth.types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { TypeOrArrayOf } from './shared.types';
33

44
export type TOAuth2Scope = 'tweet.read' | 'tweet.write' | 'tweet.moderate.write' | 'users.read' | 'users.email' | 'follows.read' | 'follows.write'
55
| 'offline.access' | 'space.read' | 'mute.read' | 'mute.write' | 'like.read' | 'like.write' | 'list.read' | 'list.write'
6-
| 'block.read' | 'block.write' | 'bookmark.read' | 'bookmark.write' | 'dm.read' | 'dm.write';
6+
| 'block.read' | 'block.write' | 'bookmark.read' | 'bookmark.write' | 'dm.read' | 'dm.write' | 'media.write';
77

88
export interface BuildOAuth2RequestLinkArgs {
99
scope?: TypeOrArrayOf<TOAuth2Scope> | TypeOrArrayOf<string>;

0 commit comments

Comments
 (0)