mirror of
https://github.com/plankanban/planka.git
synced 2025-07-18 12:49:43 +02:00
feat: Add custom user agent with base url to webhook (#799)
This commit is contained in:
parent
d54e3c1367
commit
2495891fad
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ const jsonifyData = (data) => {
|
|||
async function sendWebhook(webhook, event, data, user) {
|
||||
const headers = {
|
||||
'Content-Type': 'application/json',
|
||||
'User-Agent': `planka (+${sails.config.custom.baseUrl})`,
|
||||
};
|
||||
|
||||
if (webhook.accessToken) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue