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

export const uploadAvatar = async (data: FormData): Promise<ApiVoidResult> => {
    return ApiRequest.postFile<ApiVoidResult>("users/upload-avatar", data);
};
