agateblue / tempo

Your personal diary and mood tracker
GNU Affero General Public License v3.0
106 stars 12 forks source link

Feature Request: Make webhook actually post content #51

Closed gvmii closed 1 year ago

gvmii commented 1 year ago

Hey there. I'd love to use Tempo alongside a Discord webhook, so that the diary entry appears on Discord every time I post one on the website.

The problem, is, Tempo doesn't seem to post the actual content of the entries. I checked with https://webhook.site, and it's just an empty request.

agateblue commented 1 year ago

Hey! My initial use case was a webhook handler that had access to a shared CouchDB server to grab the entries, but it makes sense to POST the entry content as well as the type of event. This should be fixed in https://github.com/agateblue/tempo/pull/52, have a look there if you want to give it a try, or get more info about the new content of the webhook payload.