3.1.8
This commit is contained in:
parent
d9bf275578
commit
048c11f7c7
2 changed files with 2 additions and 5 deletions
|
@ -27,7 +27,7 @@ export const publishToMultipleChannels = async (
|
||||||
events: EventType[],
|
events: EventType[],
|
||||||
message: string
|
message: string
|
||||||
) => {
|
) => {
|
||||||
const response = await fetch(`https://rest.ably.io/messages`, {
|
await fetch(`https://rest.ably.io/messages`, {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
@ -43,7 +43,4 @@ export const publishToMultipleChannels = async (
|
||||||
}),
|
}),
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
const json = await response.json();
|
|
||||||
console.log(json);
|
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "sprintpadawan",
|
"name": "sprintpadawan",
|
||||||
"version": "3.1.7",
|
"version": "3.1.8",
|
||||||
"description": "Plan. Sprint. Repeat.",
|
"description": "Plan. Sprint. Repeat.",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
Loading…
Add table
Reference in a new issue