Spaces:
Sleeping
Sleeping
File size: 376 Bytes
c40c75a |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
import { getProxyUISettings } from "@/components/networking";
export const fetchProxySettings = async (accessToken: string | null) => {
if (!accessToken) return null;
try {
const proxySettings = await getProxyUISettings(accessToken);
return proxySettings;
} catch (error) {
console.error("Error fetching proxy settings:", error);
return null;
}
}; |