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("
|
68
|
+
const token = cookies.get("authToken");
|
69
69
|
try {
|
70
70
|
const response = yield axios.request({
|
71
71
|
method: "DELETE",
|
package/package.json
CHANGED
@@ -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("
|
77
|
+
const token = cookies.get("authToken");
|
78
78
|
|
79
79
|
try {
|
80
80
|
const response = await axios.request({
|