Fix scopes in examples

This commit is contained in:
AkiraFukushima 2020-02-16 01:02:31 +09:00
parent 4aac20f0f6
commit f4b059cf0c
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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