removed mapFn from pushbullet.endpoint example
parent
aeb5437503
commit
8dd8757d1e
|
@ -20,12 +20,7 @@ import "pushbullet"
|
||||||
|
|
||||||
pushbullet.endpoint(
|
pushbullet.endpoint(
|
||||||
url: "https://api.pushbullet.com/v2/pushes",
|
url: "https://api.pushbullet.com/v2/pushes",
|
||||||
token: "",
|
token: ""
|
||||||
mapFn: (r) => ({
|
|
||||||
r with
|
|
||||||
title: "Notification Title",
|
|
||||||
text: "Value: ${string(v: r._value)}"
|
|
||||||
})
|
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue