Skip to content

Commit 9bd5052

Browse files
Send to multiple webhooks with , delimited URL instead of @
1 parent 08669c9 commit 9bd5052

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

dcbattwebhook-swift/SendBatteryInfo.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ func sendInfo(isCurrentlyCharging: Bool, didGetPluggedIn: Bool, didGetUnplugged:
5050

5151

5252
// Scuffed multi-webhook functionality until I properly implement this in Battery Webhook's rewrite
53-
let webhookUrls = userWebhookUrl.split(separator: "@")
53+
let webhookUrls = userWebhookUrl.split(separator: ",")
5454
if (webhookUrls.count == 1) {
5555
NSLog("Sending to one webhook, because that's normal")
5656
// our actual post, just once

0 commit comments

Comments
 (0)