Merge pull request #854 from 634750802/patch-1

Add a status prefix for feishu notification's title
This commit is contained in:
Louis Lam 2021-11-03 16:36:21 +08:00 committed by GitHub
commit 82cde7c847
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ class Feishu extends NotificationProvider {
content: { content: {
post: { post: {
zh_cn: { zh_cn: {
title: "UptimeKuma Alert: " + monitorJSON["name"], title: "UptimeKuma Alert: [Down] " + monitorJSON["name"],
content: [ content: [
[ [
{ {
@ -54,7 +54,7 @@ class Feishu extends NotificationProvider {
content: { content: {
post: { post: {
zh_cn: { zh_cn: {
title: "UptimeKuma Alert: " + monitorJSON["name"], title: "UptimeKuma Alert: [Up] " + monitorJSON["name"],
content: [ content: [
[ [
{ {