Commit d0bf08c2 authored by devendra's avatar devendra
Browse files

Fix: Delete user issue

1 merge request!11Delete user issue
Showing with 1 addition and 1 deletion
+1 -1
......@@ -68,7 +68,7 @@ function createOrUpdateUser(user) {
function deleteUser(userId) {
const requestOptions = {
method: APP.REQUEST.POST,
headers: authHeader(),
headers: authHeaderWithBearer(),
body: JSON.stringify({id: userId})
};
return fetch(APIS.BASE_URL + APIS.USER.DELETE_USER, requestOptions).then(
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment