import { ChangePasswordParams } from "@models/User.model";
import { ApiVoidResult } from "@models/Api.VoidResult.type";
import ApiRequest from "@services/Api.Service";

export const changePassword = async (data: ChangePasswordParams): Promise<ApiVoidResult> => {
    return ApiRequest.post<ApiVoidResult>("users/change-password", {
        ...data,
    });
};
