Fix scopes in examples
This commit is contained in:
parent
4aac20f0f6
commit
f4b059cf0c
|
@ -6,7 +6,7 @@ const rl = readline.createInterface({
|
|||
output: process.stdout
|
||||
})
|
||||
|
||||
const SCOPES = 'read write follow'
|
||||
const SCOPES = ['read', 'write', 'follow']
|
||||
const BASE_URL = 'https://mastodon.social'
|
||||
|
||||
let clientId
|
||||
|
|
|
@ -6,7 +6,7 @@ const rl: readline.ReadLine = readline.createInterface({
|
|||
output: process.stdout
|
||||
})
|
||||
|
||||
const SCOPES: string = 'read write follow'
|
||||
const SCOPES: Array<string> = ['read', 'write', 'follow']
|
||||
const BASE_URL: string = 'https://mastodon.social'
|
||||
|
||||
let clientId: string
|
||||
|
|
Loading…
Reference in a new issue