forked from MapComplete/MastodonBot
Actually use access token
This commit is contained in:
parent
5e20ea32a9
commit
f97592260e
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ export class Main {
|
||||||
} else {
|
} else {
|
||||||
this._config = config;
|
this._config = config;
|
||||||
}
|
}
|
||||||
|
if(accessToken){
|
||||||
|
this._config.mastodonAuth.accessToken = accessToken
|
||||||
|
}
|
||||||
if (dryrun) {
|
if (dryrun) {
|
||||||
this._config.mastodonAuth.dryrun = true
|
this._config.mastodonAuth.dryrun = true
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue