const adminLogout = async (refreshToken) => {
const response = await fetch('https://api.weir.ai/auth/logout', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({ refreshToken })
});
if (!response.ok) throw new Error(`HTTP error! status: ${response.status}`);
return await response.json();
};