eleven-solutions-common-website-unique-web 21.0.37 → 21.0.38

Sign up to get free protection for your applications and to get access to all the features.
@@ -65,7 +65,7 @@ export const fetchUserByIdApi = (url, userId) => __awaiter(void 0, void 0, void
65
65
  }
66
66
  });
67
67
  export const deleteUserApi = (url, id) => __awaiter(void 0, void 0, void 0, function* () {
68
- const token = cookies.get("token");
68
+ const token = cookies.get("authToken");
69
69
  try {
70
70
  const response = yield axios.request({
71
71
  method: "DELETE",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eleven-solutions-common-website-unique-web",
3
- "version": "21.0.37",
3
+ "version": "21.0.38",
4
4
  "main": "./dist/index.js",
5
5
  "scripts": {
6
6
  "build": "tsc",
@@ -74,7 +74,7 @@ export const fetchUserByIdApi = async (url: string, userId: string) => {
74
74
  };
75
75
 
76
76
  export const deleteUserApi = async (url: string, id: string) => {
77
- const token = cookies.get("token");
77
+ const token = cookies.get("authToken");
78
78
 
79
79
  try {
80
80
  const response = await axios.request({