import { getAccessToken, getMergedConfig } from "./apiHelpers.mjs";
import Axios from "axios";
//#region src/utilities/apiClient.ts
const apiGet = async (baseURL, url, config = {}) => {
	const mergedConfig = getMergedConfig(await getAccessToken(), {
		method: "get",
		...config
	});
	return (await Axios({
		url: `${baseURL}/${url}`,
		...mergedConfig
	})).data;
};
//#endregion
export { apiGet };

//# sourceMappingURL=apiClient.mjs.map