mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-17 11:44:38 -05:00
Merge pull request #1456 from Arubinu/alerta
Fix "API key parameter 'undefined' is invalid"
This commit is contained in:
commit
c9deea9fdf
@ -14,7 +14,7 @@ class Alerta extends NotificationProvider {
|
|||||||
let config = {
|
let config = {
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json;charset=UTF-8",
|
"Content-Type": "application/json;charset=UTF-8",
|
||||||
"Authorization": "Key " + notification.alertaapiKey,
|
"Authorization": "Key " + notification.alertaApiKey,
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
let data = {
|
let data = {
|
||||||
|
Loading…
Reference in New Issue
Block a user