Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-smf-web
Commits
d0bf08c2
Commit
d0bf08c2
authored
2 years ago
by
devendra
Browse files
Options
Download
Patches
Plain Diff
Fix: Delete user issue
parent
2392edeb
delete-user
1 merge request
!11
Delete user issue
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/services/user.service.js
+1
-1
src/services/user.service.js
with
1 addition
and
1 deletion
+1
-1
src/services/user.service.js
+
1
−
1
View file @
d0bf08c2
...
...
@@ -68,7 +68,7 @@ function createOrUpdateUser(user) {
function
deleteUser
(
userId
)
{
const
requestOptions
=
{
method
:
APP
.
REQUEST
.
POST
,
headers
:
authHeader
(),
headers
:
authHeader
WithBearer
(),
body
:
JSON
.
stringify
({
id
:
userId
})
};
return
fetch
(
APIS
.
BASE_URL
+
APIS
.
USER
.
DELETE_USER
,
requestOptions
).
then
(
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets