more debugging
This commit is contained in:
parent
e661eac2c8
commit
077bb444c0
2
bot.js
2
bot.js
@ -17,6 +17,8 @@ let maxPostPerScan = process.env.MAX_POST_PER_SCAN;
|
|||||||
|
|
||||||
async function postFeed() {
|
async function postFeed() {
|
||||||
console.log("Running postFeed()");
|
console.log("Running postFeed()");
|
||||||
|
console.log("ACCESS KEY: ", process.env.MASTODON_ACCESS_KEY);
|
||||||
|
console.log("API URL: ", process.env.MASTODON_API_URL);
|
||||||
const M = new Mastodon({
|
const M = new Mastodon({
|
||||||
access_token: `${process.env.MASTODON_ACCESS_KEY}`,
|
access_token: `${process.env.MASTODON_ACCESS_KEY}`,
|
||||||
timeout_ms: 60 * 1000, // optional HTTP request timeout to apply to all requests.
|
timeout_ms: 60 * 1000, // optional HTTP request timeout to apply to all requests.
|
||||||
|
Loading…
Reference in New Issue
Block a user