import { fetchWithAuth } from './apiClient';
/**
* Fetches the system status.
*/
export const getSystemStatus = async () => {
try {
return await fetchWithAuth('/status', { anonymous: true });
} catch (error) {
console.error('getSystemStatus failed:', error);
throw error;
}
};