Skip to content

Commit ca87c93

Browse files
committed
add dm scopes
1 parent 67e2767 commit ca87c93

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

auth/auth.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -396,6 +396,7 @@ func getOAuth2Scopes() []string {
396396
"mute.read",
397397
"like.read",
398398
"users.email",
399+
"dm.read",
399400
}
400401

401402
writeScopes := []string{
@@ -408,6 +409,7 @@ func getOAuth2Scopes() []string {
408409
"like.write",
409410
"list.write",
410411
"media.write",
412+
"dm.write",
411413
}
412414

413415
otherScopes := []string{

0 commit comments

Comments
 (0)