remove extra character

pull/1281/head
kelseiv 2020-08-12 08:34:10 -07:00 committed by GitHub
parent 1bbbc83846
commit a903e96647
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ numberOfCrits = from(bucket: "_monitoring")
numberOfCrits numberOfCrits
|> map(fn: (r) => |> map(fn: (r) =>
(if r._value > 1 then {r with _value: http.post(url: "https://api.mailgun.net/v3/YOUR_DOMAIN/messages", headers: {Authorization: "Basic api:<your-private-api-key"}, data: bytes(v: "{ (if r._value > 1 then {r with _value: http.post(url: "https://api.mailgun.net/v3/YOUR_DOMAIN/messages", headers: {Authorization: "Basic api:your-private-api-key"}, data: bytes(v: "{
from='Excited User <mailgun@YOUR_DOMAIN_NAME>' \ from='Excited User <mailgun@YOUR_DOMAIN_NAME>' \
to=YOU@YOUR_DOMAIN_NAME \ to=YOU@YOUR_DOMAIN_NAME \
to=bar@example.com \ to=bar@example.com \