Fixed image url error
This commit is contained in:
1 parent
b54a10e519
commit
21483d67d5
1 file changed
+1
@@ -49,6 +49,7 @@ export const update = createAsyncThunk(
|
|||||||
const fd = new FormData();
|
const fd = new FormData();
|
||||||
const imageResult = await axiosInstance.get(form.file, {
|
const imageResult = await axiosInstance.get(form.file, {
|
||||||
responseType: "blob",
|
responseType: "blob",
|
||||||
|
baseURL: "",
|
||||||
});
|
});
|
||||||
fd.append("firstname", form.firstname);
|
fd.append("firstname", form.firstname);
|
||||||
fd.append("lastname", form.lastname);
|
fd.append("lastname", form.lastname);
|
||||||
|
|||||||
Reference in new issue
Block a user