Skip to content

Commit 8d8dd49

Browse files
committed
instance: fix set presence endpoint
1 parent 6e6eea1 commit 8d8dd49

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "evolution-api-sdk",
33
"private": false,
4-
"version": "0.6.2",
4+
"version": "0.6.3",
55
"description": "Unofficial SDK for the Evolution Whatsapp API v2",
66
"main": "lib/index.js",
77
"types": "lib/index.d.ts",

src/api/routes.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,6 @@ export const Routes = {
7070
ConnectionState: "instance/connectionState",
7171
Logout: "instance/logout",
7272
Delete: "instance/delete",
73-
SetPresence: "instance/presence/set",
73+
SetPresence: "instance/setPresence",
7474
},
7575
};

0 commit comments

Comments
 (0)