chore: fix discord webhook call to include APP_VERSION

This commit is contained in:
A.M. Rowsell 2026-05-04 11:48:29 -04:00
commit 0e8dba9d6d
Signed by: amr
GPG key ID: E0879EDBDB0CA7B1

View file

@ -168,7 +168,9 @@ class Discorss:
"attachments": [],
}
custom_header = {
"user-agent": "DiscoRSS (https://git.frzn.dev/amr/discorss, 0.2)",
"user-agent": "DiscoRSS (https://git.frzn.dev/amr/discorss, {})".format(
self.APP_VERSION
),
"content-type": "application/json",
}
webhook_string = json.dumps(webhook)