@prezly/sdk 21.7.1 → 21.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -42,7 +42,7 @@ function createClient(api) {
42
42
  const url = _routing.routing.contactTagGroupsUrl;
43
43
  const {
44
44
  group
45
- } = await api.patch(`${url}/${groupId}`, {
45
+ } = await api.post(`${url}/${groupId}/tags`, {
46
46
  payload
47
47
  });
48
48
  return group;
@@ -36,7 +36,7 @@ export function createClient(api) {
36
36
  const url = routing.contactTagGroupsUrl;
37
37
  const {
38
38
  group
39
- } = await api.patch(`${url}/${groupId}`, {
39
+ } = await api.post(`${url}/${groupId}/tags`, {
40
40
  payload
41
41
  });
42
42
  return group;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prezly/sdk",
3
- "version": "21.7.1",
3
+ "version": "21.7.2",
4
4
  "description": "Prezly API SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",