complete asan service gps

This commit is contained in:
Alihaghighattalab
2024-09-03 16:29:35 +03:30
parent 10a6a746ed
commit 00835e3733
28 changed files with 693 additions and 284 deletions
+6
View File
@@ -0,0 +1,6 @@
import { ResetPasswordUser } from "../../types";
import axiosInstance from "../axios";
export const getUsersInformation = ({ }: any) => axiosInstance.get("/gps/user/me")
export const changeUserPassword = (payload: ResetPasswordUser) => axiosInstance.post<any>("/gps/user/reset-pass", payload)
export const updateUSerInformations = (payload: any) => axiosInstance.put<any>(`/gps/user/me/${payload?.id}`, payload?.formData)