edit profile
This commit is contained in:
parent
47ddf039d4
commit
73dc17e5d9
@ -83,7 +83,7 @@ const EditProfile = () => {
|
|||||||
setLoading(true)
|
setLoading(true)
|
||||||
try {
|
try {
|
||||||
const res = await axios
|
const res = await axios
|
||||||
.put(`/api/v1//user/update/profile`, formData, {
|
.put(`/api/v1/user/update/profile`, formData, {
|
||||||
headers: {
|
headers: {
|
||||||
'Access-Control-Allow-Origin': '*',
|
'Access-Control-Allow-Origin': '*',
|
||||||
Authorization: `Bearer ${token}`,
|
Authorization: `Bearer ${token}`,
|
||||||
|
Loading…
Reference in New Issue
Block a user