clean configuration

This commit is contained in:
lesion
2019-04-30 15:16:50 +02:00
parent e50e5434bc
commit 69792b518e
14 changed files with 121 additions and 84 deletions

View File

@@ -20,7 +20,6 @@ async function sendNotification (notification, event, eventNotification) {
// instance publish
if (settings.mastodon_auth.instance && settings.mastodon_auth.access_token) {
const b = bot.post(settings.mastodon_auth, event).then(b => {
console.log('ho postato admin post cose', b.data.id)
event.activitypub_id = b.data.id
return event.save()
})